AmountData.fromJson constructor
AmountData.fromJson(
- dynamic data
Implementation
factory AmountData.fromJson(dynamic data) {
var json = DynamicJsonExtension.getJsonMap(data);
return AmountData(
value: json['value'],
formatted: json['formatted']?.toDouble(),
currency: json['currency'],
maxPayout: json['maxPayout']?.toDouble(),
);
}