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