toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': type,
'item_id': itemId,
'output_index': outputIndex,
'content_index': contentIndex,
'annotation_index': annotationIndex,
'annotation': annotation.toJson(),
'sequence_number': sequenceNumber,
};