hasState method

bool hasState(
  1. String key
)

Check if state exists

Implementation

bool hasState(String key) => _state.containsKey(key);