Input$WalletTopupInput.fromJson constructor
Input$WalletTopupInput.fromJson(
- Map<String, dynamic> data
)
Implementation
factory Input$WalletTopupInput.fromJson(Map<String, dynamic> data) {
final result$data = <String, dynamic>{};
if (data.containsKey('amount')) {
final l$amount = data['amount'];
result$data['amount'] = (l$amount as String?);
}
if (data.containsKey('wallet')) {
final l$wallet = data['wallet'];
result$data['wallet'] = (l$wallet as String?);
}
return Input$WalletTopupInput._(result$data);
}