-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add devFee to GetAccountHistoryResult
- Loading branch information
1 parent
b257bc8
commit 257acd8
Showing
8 changed files
with
258 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
lib/src/data_transfer_objects/get_account_history/dev_fee_history.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// ignore_for_file: public_member_api_docs, invalid_annotation_target | ||
|
||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
|
||
part 'dev_fee_history.freezed.dart'; | ||
part 'dev_fee_history.g.dart'; | ||
|
||
@freezed | ||
class DevFeeHistory with _$DevFeeHistory { | ||
const factory DevFeeHistory({ | ||
@JsonKey(name: 'reward') required int reward, | ||
}) = _DevFeeHistory; | ||
|
||
factory DevFeeHistory.fromJson(Map<String, dynamic> json) => | ||
_$DevFeeHistoryFromJson(json); | ||
} |
156 changes: 156 additions & 0 deletions
156
lib/src/data_transfer_objects/get_account_history/dev_fee_history.freezed.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
lib/src/data_transfer_objects/get_account_history/dev_fee_history.g.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
63 changes: 55 additions & 8 deletions
63
lib/src/data_transfer_objects/get_account_history/get_account_history_result.freezed.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.