SidecarNewException class

Annotations
  • @freezed

Constructors

SidecarNewException({required RuleCode code, required String message, String? correction, @JsonKey(fromJson: sourceSpanFromJson, toJson: sourceSpanToJson) required SourceSpan sourceSpan})
const
factory
SidecarNewException.fromJson(Map<String, dynamic> json)
factory
SidecarNewException.lintField({required String message, required String correction, @JsonKey(fromJson: sourceSpanFromJson, toJson: sourceSpanToJson) required SourceSpan sourceSpan})
factory
SidecarNewException.rule({required String message, String? correction, @JsonKey(fromJson: sourceSpanFromJson, toJson: sourceSpanToJson) required SourceSpan sourceSpan})
factory

Properties

code RuleCode
no setterinherited
copyWith → $SidecarNewExceptionCopyWith<SidecarNewException>
no setterinherited
correction String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceSpan → SourceSpan
no setterinherited

Methods

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

Operators

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