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