AccountMonthlyEstimatedRevenue.fromJson constructor
AccountMonthlyEstimatedRevenue.fromJson(
- Object? json
Implementation
factory AccountMonthlyEstimatedRevenue.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return AccountMonthlyEstimatedRevenue(
amount: (map['amount'] as num).toInt(),
currency: (map['currency'] as String),
);
}