LCOV - code coverage report
Current view: top level - core - location.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 3 3 100.0 %
Date: 2021-04-14 08:03:52 Functions: 0 0 -

          Line data    Source code
       1          23 : enum Location {
       2             :   usEast,
       3             :   euWest,
       4             :   singapore,
       5             :   tokyo,
       6             : }
       7             : 
       8             : /// Convenient class Extension to on [Location] enum
       9             : extension LocationX on Location {
      10             :   /// Convenient method Extension to generate [name] from [DummyAppUser] enum
      11           2 :   String? get name => {
      12             :         Location.usEast: 'us-east',
      13             :         Location.euWest: 'dublin',
      14             :         Location.singapore: 'singapore',
      15             :         Location.tokyo: 'tokyo',
      16           1 :       }[this];
      17             : }

Generated by: LCOV version 1.15