addUserData static method

void addUserData({
  1. required String? appToken,
  2. String? identifier,
  3. Map<String, dynamic>? customFields,
  4. String? email,
  5. String? phoneNumber,
})

Implementation

static void addUserData({
  required String? appToken,
  String? identifier,
  Map<String, dynamic>? customFields,
  String? email,
  String? phoneNumber,
}) async {
  InngageProperties.appToken = appToken ?? InngageProperties.appToken;
  InngageProperties.identifier = identifier ?? InngageProperties.identifier;
  InngageProperties.customFields =
      customFields ?? InngageProperties.customFields;
  InngageProperties.email = email ?? InngageProperties.email;
  InngageProperties.phoneNumber =
      phoneNumber ?? InngageProperties.phoneNumber;
}