mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-28 06:29:39 +00:00
14 lines
358 B
Dart
14 lines
358 B
Dart
|
class Receive {
|
||
|
final int amount;
|
||
|
final String assetId;
|
||
|
final int index;
|
||
|
|
||
|
Receive({required this.amount, required this.assetId, required this.index});
|
||
|
|
||
|
factory Receive.fromJson(Map<String, dynamic> json) => Receive(
|
||
|
amount: json['amount'] as int,
|
||
|
assetId: json['asset_id'] as String,
|
||
|
index: json['index'] as int,
|
||
|
);
|
||
|
}
|