CheckRequest.fromJson constructor
CheckRequest.fromJson(
- Map json_
Implementation
CheckRequest.fromJson(core.Map json_)
: this(
attributes: json_.containsKey('attributes')
? AttributeContext.fromJson(
json_['attributes'] as core.Map<core.String, core.dynamic>)
: null,
flags:
json_.containsKey('flags') ? json_['flags'] as core.String : null,
resources: json_.containsKey('resources')
? (json_['resources'] as core.List)
.map((value) => ResourceInfo.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
serviceConfigId: json_.containsKey('serviceConfigId')
? json_['serviceConfigId'] as core.String
: null,
);