registerBackgroundIsolate method
- RootIsolateToken token
Registers the current isolate with the isolate identified with by the
token
. This is required if platform channels are to be used on a
background isolate.
Implementation
void registerBackgroundIsolate(RootIsolateToken token) {
DartPluginRegistrant.ensureInitialized();
__registerBackgroundIsolate(token._token);
}