instance property

The default instance of StoriesForFlutterPlatform to use.

Defaults to MethodChannelStoriesForFlutter.

Implementation

static StoriesForFlutterPlatform get instance => _instance;
void instance=(StoriesForFlutterPlatform instance)

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

Implementation

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