setUserCity static method

void setUserCity(
  1. String city
)

Implementation

static void setUserCity(String city) {
  if (isAndroid) {
    _channel.invokeMethod('setUserCity', {
      'city': city
    });
  } else if (isWeb) {
    MetrixWeb.setUserCity(city);
  }
}