encode<V> static method

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

Implementation

static V encode<V>(
  FundingInstructionsBankTransferSpeiRecord instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'bank_code',
    instance.bankCode,
  );
  container.encodeString(
    'bank_name',
    instance.bankName,
  );
  container.encodeString(
    'clabe',
    instance.clabe,
  );
  return container.value;
}