PodStream<P extends Pod, T> class
- Inheritance
-
- Object
- Pod<
T> - PodStreamBase<
P, T> - PodStream
- Mixed in types
-
- PodConfigMixin<
PodStream< P, T> > - RefreshablePodMixin<
RefreshablePodStream< P, T> >
- PodConfigMixin<
- Available Extensions
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isKeepAlive → bool
-
Check if this pod should keep alive
no setterinherited
- name → String?
-
Debug name for this pod
no setterinherited
-
reader
→ T Function(Ref<
T> , P stream) -
Reader callback.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stream → P
-
The stream Pod.
finalinherited
Methods
-
getContext(
Node node) → Ref< T> -
Used by the container to create a read lifetime. Bit hacky, but allows us
to go from dynamic to T.
inherited
-
keepAlive(
) → PodStream< P, T> -
Prevent the state of this pod from being automatically disposed.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideWithValue(
T value, {bool keepAlive = true}) → Override< T> -
Create an initial value override, which can be given to a PodScope or
PodContainer.
inherited
-
read(
Ref< T> ref) → T -
Used by the container to read the pods value.
inherited
-
refreshable(
) → RefreshablePodStream< P, T> -
Create a refreshable version of this pod, which can be used with
PodContainer.refresh or
PodContext.refresh
.override -
setName(
String name) → PodStream< P, T> -
Set a name for debugging
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited