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,
      );