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