ResourceUpdate.fromJson constructor
ResourceUpdate.fromJson(
- Map json_
Implementation
ResourceUpdate.fromJson(core.Map json_)
: this(
accessControl: json_.containsKey('accessControl')
? ResourceAccessControl.fromJson(
json_['accessControl'] as core.Map<core.String, core.dynamic>)
: null,
error: json_.containsKey('error')
? ResourceUpdateError.fromJson(
json_['error'] as core.Map<core.String, core.dynamic>)
: null,
finalProperties: json_.containsKey('finalProperties')
? json_['finalProperties'] as core.String
: null,
intent: json_.containsKey('intent')
? json_['intent'] as core.String
: null,
manifest: json_.containsKey('manifest')
? json_['manifest'] as core.String
: null,
properties: json_.containsKey('properties')
? json_['properties'] as core.String
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
warnings: json_.containsKey('warnings')
? (json_['warnings'] as core.List)
.map((value) => ResourceUpdateWarnings.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);