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