encodeScrollBehavior static method
Encodes the given value
to a JSON compatible Map.
This returns the JSON representation to follow the structure:
{
}
See also:
Implementation
static Map<String, dynamic>? encodeScrollBehavior(
ScrollBehavior? value, {
bool validate = true,
}) {
Map<String, dynamic>? result;
if (value != null) {
result = {};
}
return _stripDynamicNull(result);
}