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