FirebaseStore<T> constructor
Constructs a store from a parent
store and a sub path
.
The created store will use the same restApi as the parent, but append
path
to it's subPaths, meaning it will have a deeper virtual root as
it's parent.
This is a protected constructor, typically used when extending this class.
Implementation
@protected
FirebaseStore({
required FirebaseStore<dynamic> parent,
required String path,
}) : restApi = parent.restApi,
subPaths = [...parent.subPaths, path];