GoogleCloudDatalabelingV1beta1Dataset.fromJson constructor
GoogleCloudDatalabelingV1beta1Dataset.fromJson(
- 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,
);