instance property
TfliteFlutterPlusPlatform
get
instance
The default instance of TfliteFlutterPlusPlatform to use.
Defaults to MethodChannelTfliteFlutterPlus.
Implementation
static TfliteFlutterPlusPlatform get instance => _instance;
set
instance
(TfliteFlutterPlusPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends TfliteFlutterPlusPlatform when they register themselves.
Implementation
static set instance(TfliteFlutterPlusPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}