noSuchMethod method
Report on unimplemented methods.
Most methods and fields don't apply to a HistoryState
, so implement
only the necessary ones and signal a problem anytime we use an
unimplemented one.
Implementation
@override
dynamic noSuchMethod(Invocation invocation) => throw UnimplementedError(
'Not implemented in History pseudo-state: ${invocation.memberName}');