encode<V> static method
Implementation
static V encode<V>(
AccountUnificationAccountController instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.isController != null) {
container.encodeBool(
'is_controller',
instance.isController!,
);
}
container.encodeString(
'type',
instance.type,
);
return container.value;
}