getDrawerStatus static method

DrawerStatus? getDrawerStatus(
  1. String id
)

returns the current status of a drawer

Implementation

static DrawerStatus? getDrawerStatus(String id) {
  if (_idToStatus[id] == null) {
    return DrawerStatus.inactive;
  }
  return _idToStatus[id];
}