hash method

  1. @override
String hash()
override

Determines a unique hash to represent this state.

This hash is used in Sets, Maps (as hashCode) and during debugging.

Implementation

@override
String hash() => "${position.prettyPrint()} ($orientation)";