inState method

bool inState(
  1. String name
)

Implementation

bool inState(String name) => _current == name;