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