setUserProperty method
Implementation
Future<void> setUserProperty(
String name,
String value,
) async {
logging.info(
'setUserProperty() - "name": $name, "value": $value',
);
try {
return await _instance.analytics
.setUserProperty(name: name, value: value);
} catch (error) {
logging.severe('setUserProperty()', error);
if (error is PlatformException) {
throw AnalyticsDataSourceException.fromRdevException(
error.toRdevException());
}
throw AnalyticsDataSourceException();
}
}