AnalyzerResult class

Parsed analysis result

Annotations
  • @JsonSerializable()

Constructors

AnalyzerResult.new({required int version, required List<AnalyzerDiagnostic> diagnostics})
Constructor
AnalyzerResult.fromJson(Map<String, dynamic> json)
From json
factory

Properties

diagnostics List<AnalyzerDiagnostic>
Diagnostics this analysis found
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
Analysis version
final

Methods

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

Operators

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

Static Methods

fromConsole(String output) AnalyzerResult?
Create an AnalyzerResult from the console output of running dart analyze --format=json