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