start method

Future<void> start()

Implementation

Future<void> start() async {
  if(_running) return;
  _running = true;
  _channel = _factory.createChanel();
  _client = stub.GpsTrackingServicesClient(_channel!);
  _timer = Timer.periodic(flushEvery, (_) => _flush());
}