ManagedSnowflakeEntity<T extends ManagedSnowflakeEntity<T> > class
abstract
The base class for all SnowflakeEntity's that have a dedicated ReadOnlyManager.
- Inheritance
-
- Object
- SnowflakeEntity<
T> - ManagedSnowflakeEntity
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The id of this entity.
finalinherited
-
manager
→ ReadOnlyManager<
T> -
The manager for this entity.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
fetch(
) → Future< T> -
Fetch this entity from the API.
override
-
get(
) → Future< T> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
override
-
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