getState method Null safety

  1. @override
Object? getState()
override

The state of the current browser history entry.

See: https://developer.mozilla.org/en-US/docs/Web/API/History/state

Implementation

@override
Object? getState() => null;