connectionStatusToBool function
Implementation
bool? connectionStatusToBool(UserConnectionStatus status) =>
status == UserConnectionStatus.notAvailable
? null
: status == UserConnectionStatus.online;
bool? connectionStatusToBool(UserConnectionStatus status) =>
status == UserConnectionStatus.notAvailable
? null
: status == UserConnectionStatus.online;