instance property
BoatPlatform
get
instance
The default instance of BoatPlatform to use.
Implementation
static BoatPlatform get instance => _instance;
set
instance
(BoatPlatform instance)
Platform-specific implementations set this during registration.
Implementation
static set instance(BoatPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}