instance property

StitchPhotoAppPlatform get instance

The default instance of StitchPhotoAppPlatform to use.

Defaults to MethodChannelStitchPhotoApp.

Implementation

static StitchPhotoAppPlatform get instance => _instance;
set instance (StitchPhotoAppPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends StitchPhotoAppPlatform when they register themselves.

Implementation

static set instance(StitchPhotoAppPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}