FeesData.fromJson constructor
FeesData.fromJson(
- dynamic data
Implementation
factory FeesData.fromJson(dynamic data) {
var json = DynamicJsonExtension.getJsonMap(data);
return FeesData(
amount: json['amount'],
fees: (json['fees'] as List<dynamic>?)
?.map((item) => FeeItem.fromJson(item))
.toList(),
);
}