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
read-only
hashCode int
The hash code for this object. [...]
read-only, override
id Snowflake
ID of entity as Snowflake
final
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
toString() String
Returns a string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override