TextAnnotation.fromJson constructor
TextAnnotation.fromJson(
- Map json_
Implementation
TextAnnotation.fromJson(core.Map json_)
: this(
pages: json_.containsKey('pages')
? (json_['pages'] as core.List)
.map((value) => Page.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
);