FundingInstructionsBankTransferSwiftRecord.fromJson constructor

FundingInstructionsBankTransferSwiftRecord.fromJson(
  1. Object? json
)

Implementation

factory FundingInstructionsBankTransferSwiftRecord.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return FundingInstructionsBankTransferSwiftRecord(
    accountNumber: (map['account_number'] as String),
    bankName: (map['bank_name'] as String),
    swiftCode: (map['swift_code'] as String),
  );
}