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