Manager<T extends WritableSnowflakeEntity<T>> constructor

Manager<T extends WritableSnowflakeEntity<T>>(
  1. CacheConfig<T> config,
  2. NyxxRest client,
  3. {required String identifier}
)

Create a new manager.

Managers provide methods for creating objects (create), caching them (cache and get), fetching them from the API (fetch), updating them (update) and deleting them (delete).

parse can be used to convert a raw API response into an instance of the managed type.

Implementation

Manager(super.config, super.client, {required super.identifier});