instance property

The default instance of FlutterFileUploadPlatform to use.

Defaults to MethodChannelFlutterFileUpload.

Implementation

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

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

Implementation

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