Segment class

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

getAnonymousId Future<String?>
no setter

Static Methods

alias({required String alias, Map<String, dynamic>? options}) Future<void>
config({required SegmentConfig options}) Future<void>
debug(bool enabled) Future<void>
disable() Future<void>
enable() Future<void>
flush() Future<void>
group({required String groupId, Map<String, dynamic>? traits, Map<String, dynamic>? options}) Future<void>
identify({String? userId, Map<String, dynamic>? traits, Map<String, dynamic>? options}) Future<void>
reset() Future<void>
screen({required String screenName, Map<String, dynamic>? properties, Map<String, dynamic>? options}) Future<void>
setContext(Map<String, dynamic> context) Future<void>
track({required String eventName, Map<String, dynamic>? properties, Map<String, dynamic>? options}) Future<void>