encode<V> static method

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

Implementation

static V encode<V>(
  PersonAdditionalTosAcceptances instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  PersonAdditionalTosAcceptance.encode(
    instance.account,
    container.nestedSingleValueContainer('account').encoder,
  );
  return container.value;
}