AttackPathNode.fromJson constructor
AttackPathNode.fromJson(
- Map json_
Implementation
AttackPathNode.fromJson(core.Map json_)
: this(
associatedFindings: json_.containsKey('associatedFindings')
? (json_['associatedFindings'] as core.List)
.map((value) => PathNodeAssociatedFinding.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
attackSteps: json_.containsKey('attackSteps')
? (json_['attackSteps'] as core.List)
.map((value) => AttackStepNode.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
resource: json_.containsKey('resource')
? json_['resource'] as core.String
: null,
resourceType: json_.containsKey('resourceType')
? json_['resourceType'] as core.String
: null,
uuid: json_.containsKey('uuid') ? json_['uuid'] as core.String : null,
);