AmountData.fromJson constructor
Implementation
factory AmountData.fromJson(Map<String, dynamic> json) {
return AmountData(
value: json['value'],
formatted: json['formatted']?.toDouble(),
currency: json['currency'],
maxPayout: json['maxPayout']?.toDouble(),
);
}