WritingMistake class

Object that stores information about a single writing mistake.

Constructors

WritingMistake.new({required String message, required int offset, required int length, required MistakeType issueType, required String issueDescription, required List<String> replacements, required String shortMessage})
Constructor for WritingMistake.

Properties

hashCode int
The hash code for this object.
no setterinherited
issueDescription String
Description of the issueType.
final
issueType → MistakeType
The type of mistake.
final
length int
Length of the mistake after the offset.
final
message String
A brief description of the mistake.
final
offset int
Position of the beginning of the mistake.
final
replacements List<String>
A list of suggestions for replacing the mistake.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortMessage String
An optional shorter version of 'message'. ,
final

Methods

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

Operators

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