instance property

The default instance of FlutternativedataPlatform to use.

Defaults to MethodChannelFlutternativedata.

Implementation

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

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

Implementation

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