issueFromJson function
Implementation
Issue issueFromJson(Map<String, dynamic> json) {
final type = mapIssueType(json['kind']);
return Issue(
line: json['line'] - 1,
message: json['message'],
suggestion: json['correction'],
type: type,
url: json['url'],
);
}