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