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