SourceTypeIdeal.fromJson constructor

SourceTypeIdeal.fromJson(
  1. Object? json
)

Implementation

factory SourceTypeIdeal.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceTypeIdeal(
    bank: map['bank'] == null ? null : (map['bank'] as String),
    bic: map['bic'] == null ? null : (map['bic'] as String),
    ibanLast4:
        map['iban_last4'] == null ? null : (map['iban_last4'] as String),
    statementDescriptor: map['statement_descriptor'] == null
        ? null
        : (map['statement_descriptor'] as String),
  );
}