toJson method

Map<String, dynamic> toJson()

Serializes this descriptor as JSON-compatible map data.

Implementation

Map<String, dynamic> toJson() {
  return {
    'defaultValue': defaultValue,
    'min': min,
    'max': max,
  };
}