removeLocations method
The function removeLocations
is an asynchronous method that invokes a method on a method channel
and returns a Future
of type String
or null
.
@returns The method is returning a Future
object that resolves to a String
or null
.
Implementation
@override
Future<String?> removeLocations() async {
final returnVal =
await methodChannel.invokeMethod<String>('removeLocations');
return returnVal;
}