Layer.fromJson constructor
Layer.fromJson(
- Map json_
Implementation
Layer.fromJson(core.Map json_)
: this(
applicationType: json_.containsKey('applicationType')
? json_['applicationType'] as core.String
: null,
databaseType: json_.containsKey('databaseType')
? json_['databaseType'] as core.String
: null,
instances: json_.containsKey('instances')
? (json_['instances'] as core.List)
.map((value) => Instance.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
sid: json_.containsKey('sid') ? json_['sid'] as core.String : null,
);