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

col int
final
hashCode int
The hash code for this object.
no setteroverride
row int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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