toJSON method
Converts the internal value of the field to a JSON representation.
Returns: A JSON representation of the internal value of the field.
Implementation
@override
/// Converts the internal value of the field to a JSON representation.
///
/// Returns:
/// A JSON representation of the internal value of the field.
dynamic toJSON() {
return _value;
}