registerBackgroundIsolate method

  1. @override
void registerBackgroundIsolate(
  1. RootIsolateToken token
)
override

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

@override
void registerBackgroundIsolate(RootIsolateToken token) {
  _platformDispatcher.registerBackgroundIsolate(token);
}