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