GoogleCloudDocumentaiV1beta2DocumentShardInfo.fromJson constructor

GoogleCloudDocumentaiV1beta2DocumentShardInfo.fromJson(
  1. Map _json
)

Implementation

GoogleCloudDocumentaiV1beta2DocumentShardInfo.fromJson(core.Map _json)
    : this(
        shardCount: _json.containsKey('shardCount')
            ? _json['shardCount'] as core.String
            : null,
        shardIndex: _json.containsKey('shardIndex')
            ? _json['shardIndex'] as core.String
            : null,
        textOffset: _json.containsKey('textOffset')
            ? _json['textOffset'] as core.String
            : null,
      );