getValidConnectivityState function
Implementation
ConnectivityState getValidConnectivityState(ConnectivityState candidateState) =>
_kValidStatuses.contains(candidateState.status)
? candidateState
: _kStates.disconnected;
ConnectivityState getValidConnectivityState(ConnectivityState candidateState) =>
_kValidStatuses.contains(candidateState.status)
? candidateState
: _kStates.disconnected;