GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.fromJson constructor

GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.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,
      );