TransactionFee.fromJson constructor

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

Implementation

factory TransactionFee.fromJson(Map<String, dynamic> json) => TransactionFee(
      fee: json['fee']?.toInt(),
      rates: json['rates'] == null ? null : Rates.fromJson(json['rates']),
      errors: json['errors'] == null
          ? null
          : TransactionFeeErrors.fromJson(json['errors']),
    );