@override Future<void> startCollectingLocation(int frequency) async { await _channel .invokeMethod('startCollectingLocation', {'frequency': frequency}); }