SunnyApi<M extends Entity> constructor

SunnyApi<M extends Entity>(
  1. ApiRegistry apis,
  2. MModelInstantiator<M> _factoryMethod
)

Implementation

SunnyApi(this.apis, this._factoryMethod) {
  apis.register(this);
}