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