instance property

The default instance of MeshBaseFlutterPlatform to use.

Defaults to MethodChannelMeshBaseFlutter.

Implementation

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

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

Implementation

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