encode<V> static method

V encode<V>(
  1. FundingInstructionsBankTransferAbaRecord instance,
  2. Encoder<V> encoder
)

Implementation

static V encode<V>(
  FundingInstructionsBankTransferAbaRecord instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'account_number',
    instance.accountNumber,
  );
  container.encodeString(
    'bank_name',
    instance.bankName,
  );
  container.encodeString(
    'routing_number',
    instance.routingNumber,
  );
  return container.value;
}