encode<V> static method

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

Implementation

static V encode<V>(
  IssuingAuthorizationAuthenticationExemption instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeString(
    'claimed_by',
    instance.claimedBy,
  );
  container.encodeString(
    'type',
    instance.type,
  );
  return container.value;
}