Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 467 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 467 Bytes

stream_hydrated

Persist Stream Data in SharedPreference. Simple and Easy Operator

Instalation

in pubspec.yaml

dependencies:
    stream_hydrated

Using

The hydrate operator is automatically added to the Dart Streams API through Extensions. To use just import the package and use it directly in the stream.

import 'package:stream_hydrated/stream_hydrated.dart';

...
Stream stream = Stream<int>.empty().hydrated('number', seeded: 1);