noSuchMethod method

  1. @override
dynamic noSuchMethod(
  1. Invocation invocation
)
override

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}');