Diagnostic class abstract

Available extensions
Annotations
  • @freezed

Constructors

Diagnostic.new({required String code, required DiagnosticSeverity severity, required DiagnosticType type, required Location location, required String problemMessage, String? correctionMessage, List<ContextMessage>? contextMessages, Url? documentation})
const
factory
Diagnostic.fromJson(Map<String, Object?> json)
factory

Properties

body String

Available on Diagnostic, provided by the DiagnosticExt extension

no setter
code String
no setterinherited
contextMessages List<ContextMessage>?
no setterinherited
copyWith → $DiagnosticCopyWith<Diagnostic>
no setterinherited
correctionMessage String?
no setterinherited
documentation String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
location Location
no setterinherited
problemMessage String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
severity DiagnosticSeverity
no setterinherited
sha String

Available on Diagnostic, provided by the DiagnosticExt extension

no setter
type DiagnosticType
no setterinherited

Methods

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

Operators

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