encode<V> static method
Implementation
static V encode<V>(
QuotesResourceFromQuote instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeBool(
'is_revision',
instance.isRevision,
);
QuoteOrId.encode(
instance.quote,
container.nestedSingleValueContainer('quote').encoder,
);
return container.value;
}