asStream method

  1. @override
Stream<List<int>> asStream()
override

Implementation

@override
// There will be only one element in the stream: the utf8 encoded string.
Stream<List<int>> asStream() =>
    Stream.fromIterable([convert.utf8.encode(_data)]);