SnowflakeEntity class Null safety

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-onlyoverride
id Snowflake
ID of entity as Snowflake
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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