isMockEnabled method
Checks if mock location is enabled on the device.
Returns true
if mock location is enabled, otherwise false
.
Implementation
@override
Future<bool> isMockEnabled() async {
return methodChannel
.invokeMethod("isMockEnabled")
.then<bool>((value) => value);
}