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