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