Area class
- Implemented types
Constructors
-
Area({required List<
Direction> directions}) -
const
- Area.filled({required int width, required int height, int xOffset = 0, int yOffset = 0, bool omitCentre = false})
-
factory
-
Area.fromStrings(List<
String> directions) -
factory
- Area.radius(int size, {bool omitCentre = false})
-
factory
Properties
Methods
-
contains(
int file, int rank) → bool -
override
-
export(
) → List< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
squares(
BoardSize size) → List< int> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
translate(
int x, int y) → Area -
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited