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

hashCode → int
The hash code for this object.
no setterinherited
key ↔ String
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value ↔ String
getter/setter pair

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