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