instance property

VkNativeClientPlatform get instance

The default instance of VkNativeClientPlatform to use.

Defaults to MethodChannelVkNativeClient.

Implementation

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

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

Implementation

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