Query$quest$quest$remuneration$wallet.fromJson constructor
Query$quest$quest$remuneration$wallet.fromJson(
- Map<String, dynamic> json
)
Implementation
factory Query$quest$quest$remuneration$wallet.fromJson(
Map<String, dynamic> json) {
final l$id = json['id'];
final l$amount = json['amount'];
final l$fee = json['fee'];
final l$walletType = json['walletType'];
final l$createdAt = json['createdAt'];
final l$updatedAt = json['updatedAt'];
final l$coin = json['coin'];
final l$owner = json['owner'];
final l$target = json['target'];
return Query$quest$quest$remuneration$wallet(
id: (l$id as String),
amount: (l$amount as String?),
fee: (l$fee as num?)?.toDouble(),
walletType: l$walletType == null
? null
: fromJson$Enum$WalletTypeEnum((l$walletType as String)),
createdAt: dateTimeFromJson(l$createdAt),
updatedAt: dateTimeFromJson(l$updatedAt),
coin: l$coin == null
? null
: Query$quest$quest$remuneration$wallet$coin.fromJson(
(l$coin as Map<String, dynamic>)),
owner: l$owner == null
? null
: Query$quest$quest$remuneration$wallet$owner.fromJson(
(l$owner as Map<String, dynamic>)),
target: l$target == null
? null
: Query$quest$quest$remuneration$wallet$target.fromJson(
(l$target as Map<String, dynamic>)),
);
}