$GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.fromJson constructor

$GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.fromJson(
  1. Map json_
)

Implementation

$GoogleCloudDocumentaiV1DocumentPageImageQualityScoresDetectedDefect.fromJson(
    core.Map json_)
    : this(
        confidence: json_.containsKey('confidence')
            ? (json_['confidence'] as core.num).toDouble()
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );