aService method

void aService()

Implementation

void aService() {
//    Stream.periodic(Duration(seconds: 1)).listen((_) async {
//      var ret = await CounterService().read();
//      if (ret >= 0) {
//        print('a service');
//        sleep(Duration(seconds: 20));
//        await CounterService().write(1);
//      }
//    });
}