DepositResponse.fromJson constructor
DepositResponse.fromJson(- Map<String, dynamic> json
)
Implementation
factory DepositResponse.fromJson(Map<String, dynamic> json) =>
new DepositResponse(
json['how'] as String,
json['id'] as String,
convertInt(json['eta']),
convertDouble(json['min_amount']),
convertDouble(json['max_amount']),
convertDouble(json['fee_fixed']),
convertDouble(json['fee_percent']),
json['extra_info'] == null
? null
: new ExtraInfo.fromJson(
json['extra_info'] as Map<String, dynamic>));