encode<V> static method
Implementation
static V encode<V>(
GetRadarValueListsResponse instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
container.encodeList(
'data',
(container) => instance.data.forEach((el) => RadarValueList.encode(
el,
container.nestedSingleValueContainer().encoder,
)),
);
container.encodeBool(
'has_more',
instance.hasMore,
);
container.encodeString(
'object',
'list',
);
container.encodeString(
'url',
instance.url,
);
return container.value;
}