TextDetectionParams.fromJson constructor

TextDetectionParams.fromJson(
  1. 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,
      );