SourceTypeGiropay.fromJson constructor
SourceTypeGiropay.fromJson(
- Object? json
Implementation
factory SourceTypeGiropay.fromJson(Object? json) {
final map = (json as Map).cast<String, Object?>();
return SourceTypeGiropay(
bankCode: map['bank_code'] == null ? null : (map['bank_code'] as String),
bankName: map['bank_name'] == null ? null : (map['bank_name'] as String),
bic: map['bic'] == null ? null : (map['bic'] as String),
statementDescriptor: map['statement_descriptor'] == null
? null
: (map['statement_descriptor'] as String),
);
}