clearState method

Future<void> clearState(
  1. String type
)

Clears the shared state for a specific type.

Parameters:

  • type: The identifier for the state type to clear

This operation removes the state across all displays and cannot be undone. After clearing, getState will return null for the specified type until new state is set.

Implementation

Future<void> clearState(String type) {
  throw UnimplementedError('clearState() has not been implemented.');
}