GoogleCloudContentwarehouseV1DocumentReference.fromJson constructor

GoogleCloudContentwarehouseV1DocumentReference.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContentwarehouseV1DocumentReference.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        deleteTime: json_.containsKey('deleteTime')
            ? json_['deleteTime'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        documentIsFolder: json_.containsKey('documentIsFolder')
            ? json_['documentIsFolder'] as core.bool
            : null,
        documentIsLegalHoldFolder:
            json_.containsKey('documentIsLegalHoldFolder')
                ? json_['documentIsLegalHoldFolder'] as core.bool
                : null,
        documentIsRetentionFolder:
            json_.containsKey('documentIsRetentionFolder')
                ? json_['documentIsRetentionFolder'] as core.bool
                : null,
        documentName: json_.containsKey('documentName')
            ? json_['documentName'] as core.String
            : null,
        snippet: json_.containsKey('snippet')
            ? json_['snippet'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );