FischerRandomLookUp class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decode(dynamic id)
→ dynamic
-
Given an ID, returns the starting position's arrangement of pieces.
-
encode(dynamic arrangement)
→ dynamic
-
Given an arrangement of pieces, returns the starting position's ID.
-
generate()
→ dynamic
-
Returns a random starting position for Fischer Random Chess / Chess960.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
random()
→ Map<String, dynamic>
-
Returns a random starting position, with its ID and arrangement.
-
randomID()
→ int
-
Picks a random starting position's ID.
-
toString()
→ String
-
A string representation of this object.
inherited