GoogleCloudDocumentaiV1beta2DocumentLabel.fromJson constructor

GoogleCloudDocumentaiV1beta2DocumentLabel.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta2DocumentLabel.fromJson(core.Map _json)
    : this(
        automlModel: _json.containsKey('automlModel')
            ? _json['automlModel'] as core.String
            : null,
        confidence: _json.containsKey('confidence')
            ? (_json['confidence'] as core.num).toDouble()
            : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );