fromJSON static method

TextCaptureSettings fromJSON(
  1. Map<String, dynamic> json
)

Implementation

static TextCaptureSettings fromJSON(Map<String, dynamic> json) {
  var settings = TextCaptureSettings();

  for (var entry in json.entries) {
    settings._textRecognizerSettings[entry.key] = entry.value;
  }

  return settings;
}