encode<V> static method

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

Implementation

static V encode<V>(
  IssuingAuthorizationUpdatedEvent instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  IssuingAuthorization.encode(
    instance.object,
    container.nestedSingleValueContainer('object').encoder,
  );
  container.encodeString(
    'type',
    'issuing_authorization.updated',
  );
  return container.value;
}