LCOV - code coverage report
Current view: top level - src/errors - permission_definitions_not_found_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 the required platform specific permission
       2             : /// definications could not be found (e.g. in the AndroidManifest.xml file on
       3             : /// Android or in the Info.plist file on iOS).
       4             : class PermissionDefinitionsNotFoundException implements Exception {
       5             :   /// Constructs the [PermissionDefinitionsNotFoundException]
       6           2 :   const PermissionDefinitionsNotFoundException(this.message);
       7             : 
       8             :   /// A [message] describing more details on the denied permission.
       9             :   final String? message;
      10             : 
      11           1 :   @override
      12             :   String toString() {
      13           3 :     if (message == null || message == '') {
      14             :       return 'Permission definitions are not found. Please make sure you have '
      15             :           'added the necessary definitions to the configuration file (e.g. '
      16             :           'the AndroidManifest.xml on Android or the Info.plist on iOS).';
      17             :     }
      18           1 :     return message!;
      19             :   }
      20             : }

Generated by: LCOV version 1.15