ScoreMatch class
Keep track of evaluation score of Artifacts against CharacterDefinition templates
Constructors
- ScoreMatch({required String character, required int matrixIndex, required double score})
-
Constructs a ScoreMatch object with the provided
character
,matrixIndex
, andscore
. - ScoreMatch.empty()
-
Factory method that creates a new ScoreMatch instance with default values:
factory
Properties
- character → String
-
Character matched
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Checks if the current object represents an empty or uninitialized state.
no setter
- matrixIndex → int
-
Index of the matching template matrices
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- score → double
-
final score in percentage 0..1
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