Issue.fromJson constructor

Issue.fromJson(
  1. Map json_
)

Implementation

Issue.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        severity: json_.containsKey('severity')
            ? json_['severity'] as core.String
            : null,
        sourcePosition: json_.containsKey('sourcePosition')
            ? SourcePosition.fromJson(json_['sourcePosition']
                as core.Map<core.String, core.dynamic>)
            : null,
      );