trackLocation method

  1. @override
Future<void> trackLocation(
  1. double latitude,
  2. double longitude,
  3. String placemarkName,
  4. String placemarkAddress,
  5. int accuracy,
)
override

Implementation

@override
Future<void> trackLocation(double latitude, double longitude, String placemarkName, String placemarkAddress, int accuracy) async {
  print('Track location Android implementation');
  await _channel.invokeMethod('trackLocation', {'latitude':latitude, 'longitude':longitude, 'placemarkName':placemarkName, 'placemarkAddress':placemarkAddress, 'accuracy':accuracy});
}