Finding.fromJson constructor

Finding.fromJson(
  1. Map json_
)

Implementation

Finding.fromJson(core.Map json_)
    : this(
        body: json_.containsKey('body') ? json_['body'] as core.String : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        finalUrl: json_.containsKey('finalUrl')
            ? json_['finalUrl'] as core.String
            : null,
        findingType: json_.containsKey('findingType')
            ? json_['findingType'] as core.String
            : null,
        form: json_.containsKey('form')
            ? Form.fromJson(
                json_['form'] as core.Map<core.String, core.dynamic>)
            : null,
        frameUrl: json_.containsKey('frameUrl')
            ? json_['frameUrl'] as core.String
            : null,
        fuzzedUrl: json_.containsKey('fuzzedUrl')
            ? json_['fuzzedUrl'] as core.String
            : null,
        httpMethod: json_.containsKey('httpMethod')
            ? json_['httpMethod'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        outdatedLibrary: json_.containsKey('outdatedLibrary')
            ? OutdatedLibrary.fromJson(json_['outdatedLibrary']
                as core.Map<core.String, core.dynamic>)
            : null,
        reproductionUrl: json_.containsKey('reproductionUrl')
            ? json_['reproductionUrl'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        trackingId: json_.containsKey('trackingId')
            ? json_['trackingId'] as core.String
            : null,
        violatingResource: json_.containsKey('violatingResource')
            ? ViolatingResource.fromJson(json_['violatingResource']
                as core.Map<core.String, core.dynamic>)
            : null,
        vulnerableHeaders: json_.containsKey('vulnerableHeaders')
            ? VulnerableHeaders.fromJson(json_['vulnerableHeaders']
                as core.Map<core.String, core.dynamic>)
            : null,
        vulnerableParameters: json_.containsKey('vulnerableParameters')
            ? VulnerableParameters.fromJson(json_['vulnerableParameters']
                as core.Map<core.String, core.dynamic>)
            : null,
        xss: json_.containsKey('xss')
            ? Xss.fromJson(
                json_['xss'] as core.Map<core.String, core.dynamic>)
            : null,
        xxe: json_.containsKey('xxe')
            ? Xxe.fromJson(
                json_['xxe'] as core.Map<core.String, core.dynamic>)
            : null,
      );