TreasuryFinancialAccountsResourceOutboundTransfers.fromJson constructor

TreasuryFinancialAccountsResourceOutboundTransfers.fromJson(
  1. Object? json
)

Implementation

factory TreasuryFinancialAccountsResourceOutboundTransfers.fromJson(
    Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return TreasuryFinancialAccountsResourceOutboundTransfers(
    ach: map['ach'] == null
        ? null
        : TreasuryFinancialAccountsResourceAchToggleSettings.fromJson(
            map['ach']),
    usDomesticWire: map['us_domestic_wire'] == null
        ? null
        : TreasuryFinancialAccountsResourceToggleSettings.fromJson(
            map['us_domestic_wire']),
  );
}