Fees.fromJson constructor

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

Implementation

factory Fees.fromJson(Map<String, dynamic> json) => Fees(
      amount: (json['amount'] ?? "") as String,
      type: (json['type'] ?? "") as String,
    );