PgnComment class
A PGN comment.
- Annotations
-
- @immutable
Constructors
-
PgnComment({String? text, IList<
PgnCommentShape> shapes = const IListConst([]), Duration? clock, Duration? emt, PgnEvaluation? eval}) -
const
- PgnComment.fromPgn(String comment)
-
Parses a PGN comment string to a PgnComment.
factory
Properties
- clock → Duration?
-
Player's remaining time.
final
- emt → Duration?
-
Player's elapsed move time.
final
- eval → PgnEvaluation?
-
Move evaluation.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shapes
→ IList<
PgnCommentShape> -
List of comment shapes.
final
- text → String?
-
Comment string.
final
Methods
-
makeComment(
) → String - Make a PGN string from this comment.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override