instance property

The default instance of ApphudFacebookSdkPlatform to use.

Defaults to MethodChannelApphudFacebookSdk.

Implementation

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

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

Implementation

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