TextDetectionParams.fromJson constructor

TextDetectionParams.fromJson(
  1. Map json_
)

Implementation

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