encode<V> static method
Implementation
static V encode<V>(
PersonCompanyAuthorization instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.files != null) {
container.encodeList(
'files',
(container) => instance.files!.forEach((el) =>
el == null ? container.encodeNull() : container.encodeString(el)),
);
}
return container.value;
}