instance property

WebfiledropPlatform get instance

The default instance of WebfiledropPlatform to use.

Defaults to MethodChannelWebfiledrop.

Implementation

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

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

Implementation

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