TestIssue.fromJson constructor

TestIssue.fromJson(
  1. Map json_
)

Implementation

TestIssue.fromJson(core.Map json_)
    : this(
        category: json_.containsKey('category')
            ? json_['category'] as core.String
            : null,
        errorMessage: json_.containsKey('errorMessage')
            ? json_['errorMessage'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        stackTrace: json_.containsKey('stackTrace')
            ? StackTrace.fromJson(
                json_['stackTrace'] as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        warning: json_.containsKey('warning')
            ? Any.fromJson(
                json_['warning'] as core.Map<core.String, core.dynamic>)
            : null,
      );