Cluster.fromJson constructor
Cluster.fromJson(
- Map json_
Implementation
Cluster.fromJson(core.Map json_)
: this(
clusterConfig: json_.containsKey('clusterConfig')
? ClusterConfig.fromJson(
json_['clusterConfig'] as core.Map<core.String, core.dynamic>)
: null,
defaultStorageType: json_.containsKey('defaultStorageType')
? json_['defaultStorageType'] as core.String
: null,
encryptionConfig: json_.containsKey('encryptionConfig')
? EncryptionConfig.fromJson(json_['encryptionConfig']
as core.Map<core.String, core.dynamic>)
: null,
location: json_.containsKey('location')
? json_['location'] as core.String
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
serveNodes: json_.containsKey('serveNodes')
? json_['serveNodes'] as core.int
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
);