BasicShape class

It's an abstract class that defines the basic properties of a shape

Implementers

Constructors

BasicShape()

Properties

getGrid List<List<int>>
It's a getter that returns the grid.
read-only
grid List<List<int>>
It's a late final variable that is initialized in the constructor.
latefinal
hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

copy() BasicShape
It's a method that returns a copy of the current shape.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validatePosition(int row, int column) bool
It's a method that checks if the position is valid.

Operators

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