instance property
GdDatetimePickerPlatform
get
instance
The default instance of GdDatetimePickerPlatform to use.
Defaults to MethodChannelGdDatetimePicker.
Implementation
static GdDatetimePickerPlatform get instance => _instance;
set
instance
(GdDatetimePickerPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends GdDatetimePickerPlatform when they register themselves.
Implementation
static set instance(GdDatetimePickerPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}