instance property
GiphyDialogPlatform
get
instance
Gets the current instance of GiphyDialogPlatform.
This getter returns the current platform-specific implementation of the GiphyDialog.
Implementation
static GiphyDialogPlatform get instance => _instance;
set
instance
(GiphyDialogPlatform instance)
Sets the current instance of GiphyDialogPlatform.
This setter allows changing the platform-specific implementation of the GiphyDialog. It verifies the new instance using the platform interface token.
Implementation
static set instance(GiphyDialogPlatform instance) {
PlatformInterface.verify(instance, _token);
_instance = instance;
}