removeSyncedState static method

void removeSyncedState(
  1. String channel
)

Remove synced state

Implementation

static void removeSyncedState(String channel) {
  final state = _syncedStates[channel];
  state?.dispose();
  _syncedStates.remove(channel);
}