Xss.fromJson constructor

Xss.fromJson(
  1. Map json_
)

Implementation

Xss.fromJson(core.Map json_)
    : this(
        attackVector: json_.containsKey('attackVector')
            ? json_['attackVector'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        stackTraces: json_.containsKey('stackTraces')
            ? (json_['stackTraces'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        storedXssSeedingUrl: json_.containsKey('storedXssSeedingUrl')
            ? json_['storedXssSeedingUrl'] as core.String
            : null,
      );