encode<V> static method

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

Implementation

static V encode<V>(
  SessionsCustomerDetails instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'email',
    instance.email,
  );
  return container.value;
}