setUserCity method

  1. @override
Future<void> setUserCity(
  1. String city
)
override

Implementation

@override
Future<void> setUserCity(String city) async {
  try {
    await _logCommonChannel
        .invokeMethod(SuperfineSdkChannelMethods.setUserCity, {'city': city});
  } catch (e) {
    print("Error setting user city: $e");
  }
}