toJson method

Map<String, dynamic> toJson()

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