GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.fromJson constructor

GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3ReviewDocumentOperationMetadata.fromJson(
    core.Map _json)
    : this(
        commonMetadata: _json.containsKey('commonMetadata')
            ? GoogleCloudDocumentaiV1beta3CommonOperationMetadata.fromJson(
                _json['commonMetadata']
                    as core.Map<core.String, core.dynamic>)
            : null,
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        state:
            _json.containsKey('state') ? _json['state'] as core.String : null,
        stateMessage: _json.containsKey('stateMessage')
            ? _json['stateMessage'] as core.String
            : null,
        updateTime: _json.containsKey('updateTime')
            ? _json['updateTime'] as core.String
            : null,
      );