Query$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet.fromJson constructor
Query$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet.fromJson()
Implementation
factory Query$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$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$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet(
id: (l$id as String),
amount: l$amount == null ? null : decimalFromJson(l$amount),
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$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet$coin
.fromJson((l$coin as Map<String, dynamic>)),
owner: l$owner == null
? null
: Query$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet$owner
.fromJson((l$owner as Map<String, dynamic>)),
target: l$target == null
? null
: Query$findPredefinedQuestsByTargetWithRepeatDate$findPredefinedQuestsByTargetWithRepeatDate$remuneration$wallet$target
.fromJson((l$target as Map<String, dynamic>)),
);
}