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
toJSON() {
  return _value?.map((element) {
    return element.toJSON();
  }).toList();
}