Position class
To denote Position of a peice
Constructors
- Position({required int row, required int col})
- Position.fromJson(dynamic json)
-
Either String or Map<String, dynamic>
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson<
T> () → T - Either String or Map<String, dynamic>
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override