instance property

FCllamaPlatform get instance

The default instance of FCllamaPlatform to use.

Defaults to MethodChannelFCllama.

Implementation

static FCllamaPlatform get instance => _instance;
set instance (FCllamaPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends FCllamaPlatform when they register themselves.

Implementation

static set instance(FCllamaPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}