InvoiceBankTransfer.fromJson constructor

InvoiceBankTransfer.fromJson(
  1. Object? json
)

Implementation

factory InvoiceBankTransfer.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoiceBankTransfer(
    euBankTransfer: map['eu_bank_transfer'] == null
        ? null
        : SessionEuBankTransfer.fromJson(map['eu_bank_transfer']),
    type: map['type'] == null ? null : (map['type'] as String),
  );
}