currentState property

CurrentState currentState

It retrieves the current state in base of current device

Implementation

static CurrentState get currentState => _instance ??= getCurrentState();