connectionStatusToBool function

bool? connectionStatusToBool(
  1. UserConnectionStatus status
)

Implementation

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