Given class

A supplied cell value, including background color zero.

Constructors

Given(CellPosition position, int color)
Supplies a fixed palette ID at a cell position.
const
Given.fromJson(Map<String, dynamic> json)
Restores this value from its JSON representation.
factory

Properties

color → int
The palette ID; zero denotes background.
final
hashCode → int
The hash code for this object.
no setterinherited
position → CellPosition
The zero-based address of the affected cell.
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() → Map<String, dynamic>
Encodes this value as JSON-compatible data.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited