Position class

A class representing a position on a shogi game board

Annotations
  • @immutable

Constructors

Position({required int column, required int row})
const
Position.fromString(String position)
Constructs a Position from a string 11
factory

Properties

column int
The column index
final
hashCode int
The hash code for this object.
no setteroverride
row int
The row index
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
toString() String
A string representation of this object.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override