encode<V> static method
Implementation
static V encode<V>(
AccountsCreatedRangeQuerySpecs instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.gt != null) {
container.encodeInt(
'gt',
instance.gt!,
);
}
if (instance.gte != null) {
container.encodeInt(
'gte',
instance.gte!,
);
}
if (instance.lt != null) {
container.encodeInt(
'lt',
instance.lt!,
);
}
if (instance.lte != null) {
container.encodeInt(
'lte',
instance.lte!,
);
}
return container.value;
}