snapshot library

A library that can be used to implement data classes

Classes

ModifiableSnapshotView
Base class for data classes that can be changed
Snapshot
A Snapshot holds immutable data that represents part of the content of a (remote) database at some moment.
SnapshotDecoder
Holds methods to convert Snapshots to objects of specific types.
SnapshotViewChangeEvent
UnmodifiableSnapshotView
Base class for unmodifiable data classes

Mixins

EfficientChild
SnapshotView
A mixin to be used to implement data classes

Extensions

ModifiableSnapshotViewX on ModifiableSnapshotView
This extension makes setters available to update the content of the snapshot
SnapshotStreamX on Stream<Snapshot>
SnapshotViewExtension on SnapshotView
This extension makes getters available to convert the JSON content to dart objects on classes extending SnapshotViews.
StreamX on Stream