UserTrait class
Represents a user related trait.
key is the trait key used to identify the trait. value is the trait value.
Constructors
- UserTrait.bool(String key, bool value)
- Creates a boolean trait.
- UserTrait.dateTime(String key, DateTime value)
- Creates a date time trait.
- UserTrait.num(String key, num value)
- Creates a number trait.
- UserTrait.string(String key, String value)
- Creates a string trait.
Properties
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