WithdrawResponse.fromJson constructor

WithdrawResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory WithdrawResponse.fromJson(Map<String, dynamic> json) =>
    new WithdrawResponse(
        json['account_id'] as String,
        json['memo_type'] as String,
        json['memo'] 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>));