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