GoogleCloudDocumentaiV1beta3DocumentRevision.fromJson constructor

GoogleCloudDocumentaiV1beta3DocumentRevision.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta3DocumentRevision.fromJson(core.Map _json)
    : this(
        agent:
            _json.containsKey('agent') ? _json['agent'] as core.String : null,
        createTime: _json.containsKey('createTime')
            ? _json['createTime'] as core.String
            : null,
        humanReview: _json.containsKey('humanReview')
            ? GoogleCloudDocumentaiV1beta3DocumentRevisionHumanReview
                .fromJson(_json['humanReview']
                    as core.Map<core.String, core.dynamic>)
            : null,
        id: _json.containsKey('id') ? _json['id'] as core.String : null,
        parent: _json.containsKey('parent')
            ? (_json['parent'] as core.List)
                .map((value) => value as core.int)
                .toList()
            : null,
        parentIds: _json.containsKey('parentIds')
            ? (_json['parentIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        processor: _json.containsKey('processor')
            ? _json['processor'] as core.String
            : null,
      );