toJson method
Implementation
Map<String, dynamic> toJson() => {
AnnotationProperties.rect: jsonEncode(rect),
AnnotationProperties.contents: contents,
AnnotationProperties.subject: subject,
AnnotationProperties.title: title,
AnnotationProperties.contentRect: jsonEncode(rect),
AnnotationProperties.rotation: rotation,
};