setAttribute method
Future<bool>
setAttribute({
- required Map<
String, dynamic> attributes, - required FmeUserContext context,
Sets user attributes. Returns false if the SDK is not initialized.
Implementation
Future<bool> setAttribute({
required Map<String, dynamic> attributes,
required FmeUserContext context,
}) async {
final plugin = fmePlugin;
if (plugin == null) return false;
return plugin.setAttribute(attributes: attributes, userContext: context);
}