LCOV - code coverage report | ||||||||||||||||||||||
![]() | ||||||||||||||||||||||
|
||||||||||||||||||||||
![]() |
Line data Source code 1 : import 'package:at_utils/at_logger.dart'; 2 : import 'package:internet_connection_checker/internet_connection_checker.dart'; 3 : 4 : class NetworkUtil { 5 0 : static final _logger = AtSignLogger('NetworkUtil'); 6 : 7 0 : static Future<bool> isNetworkAvailable() async { 8 0 : var result = await InternetConnectionChecker().hasConnection; 9 : if (!result) { 10 0 : _logger.finer('Unable to connect to internet'); 11 : } 12 : return result; 13 : } 14 : } |
![]() |
Generated by: LCOV version 1.13 |