T extends Snowflake, S extends SnowflakeEntity> class
Wraps SnowflakeEntity that can be taken from cache or optionally downloaded from API.
Always provides id of entity.
download() method tries to get entity from API and returns it upon success or
throws Error if something happens in the process.
) → Future< S>
- Downloads entity from cache and caches result
) → S?
- Returns entity from cache or null if not present
) → FutureOr< S>
- Returns entity from cache or tries to download from API if not found. If downloading is successful it caches results
Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
) → String
A string representation of this object. [...]