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