Symbol.fromJson constructor
Symbol.fromJson(
- Map json_
Implementation
Symbol.fromJson(core.Map json_)
: this(
boundingBox: json_.containsKey('boundingBox')
? BoundingPoly.fromJson(
json_['boundingBox'] as core.Map<core.String, core.dynamic>)
: null,
confidence: json_.containsKey('confidence')
? (json_['confidence'] as core.num).toDouble()
: null,
property: json_.containsKey('property')
? TextProperty.fromJson(
json_['property'] as core.Map<core.String, core.dynamic>)
: null,
text: json_.containsKey('text') ? json_['text'] as core.String : null,
);