GoogleCloudDatalabelingV1beta1Dataset.fromJson constructor

GoogleCloudDatalabelingV1beta1Dataset.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDatalabelingV1beta1Dataset.fromJson(core.Map json_)
    : this(
        blockingResources: json_.containsKey('blockingResources')
            ? (json_['blockingResources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dataItemCount: json_.containsKey('dataItemCount')
            ? json_['dataItemCount'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        inputConfigs: json_.containsKey('inputConfigs')
            ? (json_['inputConfigs'] as core.List)
                .map((value) =>
                    GoogleCloudDatalabelingV1beta1InputConfig.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        lastMigrateTime: json_.containsKey('lastMigrateTime')
            ? json_['lastMigrateTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );