toJSON method

  1. @override
dynamic toJSON()
override

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;
}