GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue.fromJson constructor

GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta2DocumentEntityNormalizedValue.fromJson(
    core.Map _json)
    : this(
        addressValue: _json.containsKey('addressValue')
            ? GoogleTypePostalAddress.fromJson(
                _json['addressValue'] as core.Map<core.String, core.dynamic>)
            : null,
        booleanValue: _json.containsKey('booleanValue')
            ? _json['booleanValue'] as core.bool
            : null,
        dateValue: _json.containsKey('dateValue')
            ? GoogleTypeDate.fromJson(
                _json['dateValue'] as core.Map<core.String, core.dynamic>)
            : null,
        datetimeValue: _json.containsKey('datetimeValue')
            ? GoogleTypeDateTime.fromJson(
                _json['datetimeValue'] as core.Map<core.String, core.dynamic>)
            : null,
        floatValue: _json.containsKey('floatValue')
            ? (_json['floatValue'] as core.num).toDouble()
            : null,
        integerValue: _json.containsKey('integerValue')
            ? _json['integerValue'] as core.int
            : null,
        moneyValue: _json.containsKey('moneyValue')
            ? GoogleTypeMoney.fromJson(
                _json['moneyValue'] as core.Map<core.String, core.dynamic>)
            : null,
        text: _json.containsKey('text') ? _json['text'] as core.String : null,
      );