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