ResponseTextAnnotationAdded.fromJson constructor
ResponseTextAnnotationAdded.fromJson(
- Map<String, dynamic> j
)
Implementation
factory ResponseTextAnnotationAdded.fromJson(Map<String, dynamic> j) => ResponseTextAnnotationAdded(
itemId: j['item_id'] as String,
outputIndex: j['output_index'] as int,
contentIndex: j['content_index'] as int,
annotationIndex: j['annotation_index'] as int,
annotation: Annotation.fromJson(j['annotation'] as Map<String, dynamic>),
sequenceNumber: j['sequence_number'] as int,
);