Sets its own device location information using the location parameter.
location
static Future<void> setLocation(Location? location) => _appMetrica.setLocation(location?.toPigeon());