valueToJSON property
J Function(T value)?
valueToJSON
final
The function to convert the value to the correct type for the JSON.
By default, the value will not be converted.
Implementation
final J Function(T value)? valueToJSON;