GoogleDatastoreAdminV1Index.fromJson constructor
GoogleDatastoreAdminV1Index.fromJson(
- Map json_
Implementation
GoogleDatastoreAdminV1Index.fromJson(core.Map json_)
: this(
ancestor: json_.containsKey('ancestor')
? json_['ancestor'] as core.String
: null,
indexId: json_.containsKey('indexId')
? json_['indexId'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
projectId: json_.containsKey('projectId')
? json_['projectId'] as core.String
: null,
properties: json_.containsKey('properties')
? (json_['properties'] as core.List)
.map((value) =>
GoogleDatastoreAdminV1IndexedProperty.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);