setUserData static method

Future<void> setUserData({
  1. required String email,
  2. Map<String, dynamic>? userMeta,
})

Implementation

static Future<void> setUserData({required String email, Map<String, dynamic>? userMeta}) async {
  if (_apiService == null) {
    throw Exception(
      'FeatureBuddy has not been configured. Call FeatureBuddyConfig.configure() before using FeatureBuddy.',
    );
  }
  await _apiService!.updateUser(email: email, userMeta: userMeta);
}