Issue class Null safety

A Code Climate issue represents a single instance of a real or potential code problem, detected by a static analysis Engine. Specification: https://github.com/codeclimate/platform/blob/master/spec/analyzers/SPEC.md#issues

Constructors

Issue({required String checkName, required String description, required Map<String, dynamic> location, required String severity, required String fingerprint})
Issue.fromAnalyzer(String analyzerLine)
Dart Analysis Server Specification tells us that dartanalyzer produces machine output in format AnalysisErrorSeverity|AnalysisErrorType| code|path|line|column|length|description where:
factory

Properties

checkName String
A unique name representing the static analysis check that emitted this issue.
read / write
description String
A string explaining the issue that was detected.
read / write
fingerprint String
A unique, deterministic identifier for the specific issue being reported to allow a user to exclude it from future analyses.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
location Map<String, dynamic>
A Location object representing the place in the source code where the issue was discovered.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
severity String
A Severity string (info, minor, major, critical, or blocker) describing the potential impact of the issue found.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

type → const String
Must always be "issue".
'issue'