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