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