identify method

Future<void> identify({
  1. required String userId,
  2. dynamic userProperties,
  3. String? userHash,
})

Implementation

Future<void> identify({
  required String userId,
  dynamic userProperties,
  String? userHash,
}) async {
  String? stringifiedHashMap = jsonEncode(userProperties);

  await GleapJsSdkHelper.identify(userId, stringifiedHashMap, userHash);
}