WritableSnowflakeEntity<T extends WritableSnowflakeEntity<T> > class
abstract
The base class for all SnowflakeEntity's that have a dedicated Manager.
- Inheritance
-
- Object
- SnowflakeEntity<
T> - ManagedSnowflakeEntity<
T> - WritableSnowflakeEntity
- Implementers
Properties
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
delete(
) → Future< void> - Delete this entity.
-
fetch(
) → Future< T> -
Fetch this entity from the API.
inherited
-
get(
) → Future< T> -
If this entity exists in the manager's cache, return the cached instance. Otherwise, fetch
this entity and return it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
covariant UpdateBuilder< T> builder) → Future<T> - Update this entity using the provided builder and return the updated entity.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited