instance property

InAppCommentsPlatform get instance

The default instance of InAppCommentsPlatform to use.

Defaults to MethodChannelInAppComments.

Implementation

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

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

Implementation

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