BackgroundUseCase<T, Params> constructor
BackgroundUseCase<T, Params> ()
Implementation
BackgroundUseCase()
: assert(!kIsWeb, '''
[BackgroundUseCase] is not supported on web due to dart:isolate limitations.
'''),
_receivePort = ReceivePort(),
_subject = BehaviorSubject(),
super() {
_receivePort.listen(_handleMessage);
}