INNER CODE UNIT · Dart
setAttributes
RevenueCat/purchases-flutter · lib/purchases_flutter.dart:891
static Future<void> setAttributes(Map<String, String> attributes) =>
_channel.invokeMethod('setAttributes', {'attributes': attributes});
/// Subscriber attribute associated with the email address for the user
///
/// [email] Empty String or null will delete the subscriber attribute.
static Future<void> setEmail(String email) =>
_channel.invokeMethod('setEmail', {'email': email});
/// Subscriber attribute associated with the phone number for the user
///
/// [phoneNumber] Empty String or null will delete the subscriber attribute.
static Future<void> setPhoneNumber(String phoneNumber) =>
_channel.invokeMethod('setPhoneNumber', {'phoneNumber': phoneNumber});
/// Subscriber attribute associated with the display name for the user
///
/// [displayName] Empty String or null will delete the subscriber attribute.