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