uriLinkStream property

  1. @override
Stream<Uri> get uriLinkStream
override

Stream for receiving all incoming URI events as Uri.

The Stream emits opened URI as Uris.

Implementation

@override
Stream<Uri> get uriLinkStream {
  return stringLinkStream.transform<Uri>(
    StreamTransformer<String, Uri>.fromHandlers(
      handleData: (String uri, EventSink<Uri> sink) {
        sink.add(Uri.parse(uri));
      },
    ),
  );
}