AttackStepNode.fromJson constructor

AttackStepNode.fromJson(
  1. Map json_
)

Implementation

AttackStepNode.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        uuid: json_.containsKey('uuid') ? json_['uuid'] as core.String : null,
      );