identify method

  1. @override
Future<void> identify({
  1. required String userId,
  2. Map<String, Object>? userProperties,
  3. Map<String, Object>? userPropertiesSetOnce,
})

Implementation

@override
Future<void> identify({
  required String userId,
  Map<String, Object>? userProperties,
  Map<String, Object>? userPropertiesSetOnce,
}) async {
  return handleWebMethodCall(MethodCall('identify', {
    'userId': userId,
    if (userProperties != null) 'userProperties': userProperties,
    if (userPropertiesSetOnce != null)
      'userPropertiesSetOnce': userPropertiesSetOnce,
  }));
}