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