instance property

The default instance of SwiftAlamofirePlatform to use.

Defaults to MethodChannelSwiftAlamofire.

Implementation

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

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

Implementation

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