clearHistory method

Future<void> clearHistory()

Clears the internal back/forward list.

Officially Supported Platforms/Implementations:

Implementation

Future<void> clearHistory() {
  throw UnimplementedError(
      'clearHistory is not implemented on the current platform');
}