encode<V> static method

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

Implementation

static V encode<V>(
  UpcomingSubscriptionItemsItemBillingThresholds instance,
  Encoder<V> encoder,
) {
  final container = encoder.container<String>();
  container.encodeInt(
    'usage_gte',
    instance.usageGte,
  );
  return container.value;
}