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