LCOV - code coverage report
Current view: top level - src/errors - permission_denied_exception.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2021-06-11 15:23:14 Functions: 0 0 -

          Line data    Source code
       1             : /// An exception thrown when trying to access the  device's location
       2             : /// information while access is denied.
       3             : class PermissionDeniedException implements Exception {
       4             :   /// Constructs the [PermissionDeniedException]
       5           2 :   const PermissionDeniedException(this.message);
       6             : 
       7             :   /// A [message] describing more details on the denied permission.
       8             :   final String? message;
       9             : 
      10           1 :   @override
      11             :   String toString() {
      12           3 :     if (message == null || message == '') {
      13             :       return 'Access to the location of the device is denied by the user.';
      14             :     }
      15           1 :     return message!;
      16             :   }
      17             : }

Generated by: LCOV version 1.15