MixpanelGroup class Null safety
Core class for using Mixpanel Group Analytics features.
The MixpanelGroup object is used to update properties in a group's Group Analytics record.
Constructors
- MixpanelGroup(String token, String groupKey, dynamic groupID)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
remove(
String name, dynamic value) → void - Remove value from a list-valued property only if it is already present in the list. If the property does not currently exist, the remove will be ignored. If the property exists and is not list-valued, the remove will be ignored. [...]
-
set(
String prop, String to) → void - Sets a single property with the given name and value for this group. The given name and value will be assigned to the user in Mixpanel Group Analytics, possibly overwriting an existing property with the same name. [...]
-
setOnce(
String prop, String to) → void - Works just like groupSet() except it will not overwrite existing property values. This is useful for properties like "First login date". [...]
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
union(
String name, List value) → void - Adds values to a list-valued property only if they are not already present in the list. If the property does not currently exist, it will be created with the given list as its value. If the property exists and is not list-valued, the union will be ignored. [...]
-
unset(
String prop) → void - Permanently removes the property with the given name from the group's profile [...]
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited