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