createPort static method
Implementation
@internal
static RawReceivePort createPort(Hub hub) {
return RawReceivePort(
(dynamic error) async {
await handleIsolateError(hub, error);
},
);
}
@internal
static RawReceivePort createPort(Hub hub) {
return RawReceivePort(
(dynamic error) async {
await handleIsolateError(hub, error);
},
);
}