LCOV - code coverage report
Current view: top level - src/errors - position_update_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 something went wrong while listening for position
       2             : /// updates.
       3             : class PositionUpdateException implements Exception {
       4             :   /// Constructs the [PositionUpdateException]
       5           2 :   const PositionUpdateException(this.message);
       6             : 
       7             :   /// A [message] describing more details on the update exception
       8             :   final String? message;
       9             : 
      10           1 :   @override
      11             :   String toString() {
      12           3 :     if (message == null || message == '') {
      13             :       return 'Something went wrong while listening for position updates.';
      14             :     }
      15             : 
      16           1 :     return message!;
      17             :   }
      18             : }

Generated by: LCOV version 1.15