CheckResult.fromJson constructor
CheckResult.fromJson(
- Map json_
Implementation
CheckResult.fromJson(core.Map json_)
: this(
allowlistResult: json_.containsKey('allowlistResult')
? AllowlistResult.fromJson(json_['allowlistResult']
as core.Map<core.String, core.dynamic>)
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
evaluationResult: json_.containsKey('evaluationResult')
? EvaluationResult.fromJson(json_['evaluationResult']
as core.Map<core.String, core.dynamic>)
: null,
explanation: json_.containsKey('explanation')
? json_['explanation'] as core.String
: null,
index:
json_.containsKey('index') ? json_['index'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);