setUserProperty method
Implementation
@override
Future<void> setUserProperty(String key, Object value) async {
try {
final Map<String, Object?> arguments = {
Argument.userPropertyKey.value: key,
Argument.userPropertyValue.value: value,
};
return methodChannel.invokeMethod(
Method.setUserProperty.value, arguments);
} catch (e) {
log("Failed to setUserProperty", level: 3, error: e);
}
}