SepaDebitGeneratedFrom.fromJson constructor
SepaDebitGeneratedFrom.fromJson(
- Object? json
Implementation
factory SepaDebitGeneratedFrom.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SepaDebitGeneratedFrom(
charge: map['charge'] == null ? null : ChargeOrId.fromJson(map['charge']),
setupAttempt: map['setup_attempt'] == null
? null
: SetupAttemptOrId.fromJson(map['setup_attempt']),
);
}