LCOV - code coverage report
Current view: | top level - src/providers - zoom_state.dart (source / functions) |  |  | Hit | Total | Coverage
Test: | lcov.info |  | Lines: | 7 | 7 | 100.0 %
Date: | 2021-10-11 06:57:03 |  | Functions: | 0 | 0 | -

              Line data    Source code
           1             : class ZoomState {
           2           2 :   ZoomState({
           3             :     required this.zoomLevel,
           4             :   });
           5             :
           6           2 :   factory ZoomState.normal() {
           7           2 :     return ZoomState(zoomLevel: 1);
           8             :   }
           9             :
          10             :   final double zoomLevel;
          11             :
          12           2 :   @override
          13             :   bool operator ==(Object other) {
          14             :     if (identical(this, other)) return true;
          15             :
          16           8 :     return other is ZoomState && other.zoomLevel == zoomLevel;
          17             :   }
          18             :
          19           1 :   @override
          20           2 :   int get hashCode => zoomLevel.hashCode;
          21             : }

Generated by: LCOV version 1.15