encode<V> static method

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

Implementation

static V encode<V>(
  FundingInstructionsBankTransferIbanRecord instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'account_holder_name',
    instance.accountHolderName,
  );
  container.encodeString(
    'bic',
    instance.bic,
  );
  container.encodeString(
    'country',
    instance.country,
  );
  container.encodeString(
    'iban',
    instance.iban,
  );
  return container.value;
}