listenPermissionResult static method
Implementation
static Stream<bool>? listenPermissionResult() {
_permissionsStream ??= _permissionsChannel
.receiveBroadcastStream('permissionsChannel')
.transform(StreamTransformer<dynamic, bool>.fromHandlers(
handleData: (data, sink) {
sink.add(data);
}));
return _permissionsStream;
}