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