SourceTransactionSepaCreditTransferData.fromJson constructor

SourceTransactionSepaCreditTransferData.fromJson(
  1. Object? json
)

Implementation

factory SourceTransactionSepaCreditTransferData.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceTransactionSepaCreditTransferData(
    reference: map['reference'] == null ? null : (map['reference'] as String),
    senderIban:
        map['sender_iban'] == null ? null : (map['sender_iban'] as String),
    senderName:
        map['sender_name'] == null ? null : (map['sender_name'] as String),
  );
}