disableLocation method
Disables location.
On Android, opens the location settings screen and toggles the location switch to disable location. If the location already enabled, it does nothing.
Doesn't work for iOS.
Implementation
Future<void> disableLocation() =>
_platform.action(android: _platform.android.disableLocation);