jinyus / dart_beacon

A reactive primitive (signals) and state management library for dart and flutter
https://pub.dev/packages/state_beacon
28 stars 2 forks source link

[Refactor] add .stream getter and deprecate toStream() extension #53

Closed jinyus closed 7 months ago

jinyus commented 7 months ago

Description

Replace the .toStream() extension method with a .stream getter. This is a bit more efficient since a map to cache the streams is no longer needed.

Type of Change