Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects.fromJson constructor

Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects.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$$__typename = json['__typename'];
  return Query$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects(
    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$getCurrentUserQuantitativeWallets$getCurrentUserQuantitativeWallets$objects$coin
            .fromJson((l$coin as Map<String, dynamic>)),
    $__typename: (l$$__typename as String),
  );
}