instance property

EmojiPickerPlatform get instance

The default instance of EmojiPickerPlatform to use.

Defaults to MethodChannelEmojiPicker.

Implementation

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

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

Implementation

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