TextDetectionParams.fromJson constructor
TextDetectionParams.fromJson(
- Map json_
Implementation
TextDetectionParams.fromJson(core.Map json_)
: this(
advancedOcrOptions: json_.containsKey('advancedOcrOptions')
? (json_['advancedOcrOptions'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
enableTextDetectionConfidenceScore:
json_.containsKey('enableTextDetectionConfidenceScore')
? json_['enableTextDetectionConfidenceScore'] as core.bool
: null,
);