encode<V> static method
Implementation
static V encode<V>(
AccountLinkCollectionOptions instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
AccountLinkCollect.encode(
instance.fields,
container.nestedSingleValueContainer('fields').encoder,
);
if (instance.futureRequirements != null) {
container.encodeString(
'future_requirements',
instance.futureRequirements!,
);
}
return container.value;
}