encode<V> static method

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

Implementation

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