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