install static method
Installs a fresh DeviceGeolocationMock as the active platform implementation and returns it.
Implementation
static DeviceGeolocationMock install() {
final mock = DeviceGeolocationMock();
DeviceGeolocationPlatform.instance = mock;
return mock;
}