apply abstract method

FutureOr<Base> apply(
  1. UnmodifiableMapView<Coordinate, Base> neighbourhood,
  2. Coordinate coordinate
)

Applies the rule to the neighbourhood and returns the new state of the cell at coordinate.

Implementation

FutureOr<Base> apply(
  UnmodifiableMapView<Coordinate, Base> neighbourhood,
  Coordinate coordinate,
);