SnowflakeEntity class

Marks a snowflake entity. Snowflake entities are ones that have an id that uniquely identifies them. Includes only actual id of entity and createdAt which is timestamp when entity was created.

Implementers

Constructors

SnowflakeEntity(Snowflake id)
Creates new snowflake
const

Properties

createdAt DateTime
Gets creation timestamp included in Snowflake
no setter
hashCode int
The hash code for this object.
no setteroverride
id Snowflake
ID of entity as Snowflake
final
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.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override