toJSON method

dynamic toJSON()

Converts the field value to JSON.

Returns:

  • The raw value of the field in JSON format.

Implementation

dynamic toJSON() {
  return rawValue;
}