toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  "value": value,
  "annotations": List<dynamic>.from(annotations.map((x) => x)),
};