identify static method

Future<void> identify({
  1. String? userId,
  2. Map<String, dynamic>? traits,
  3. Map<String, dynamic>? options,
})

Implementation

static Future<void> identify({
  String? userId,
  Map<String, dynamic>? traits,
  Map<String, dynamic>? options,
}) {
  return _segment.identify(
    userId: userId,
    traits: traits ?? {},
    options: options ?? SegmentDefaultOptions.instance.options ?? {},
  );
}