Creator<T> class
Creator creates a stream of T. It is able to return a valid state when firstly being watched.
- Inheritance
-
- Object
- CreatorBase<
T> - Creator
- Available extensions
Constructors
Properties
-
args
→ List<
Object?> ? -
Creator with the same args are considered the same. args need to be
unique within the graph.
finalinherited
-
change
→ Creator<
Change< T> > -
Available on Creator<
Return Creator<ChangeT> , provided by the CreatorChange extensionno setter - create → T Function(Ref ref)
-
final
- debugName → String
-
no setterinherited
- hashCode → int
-
See args.
no setterinherited
- infoName → String
-
no setterinherited
- keepAlive → bool
-
Whether to keep the creator alive even if it loses all its watchers.
finalinherited
- name → String?
-
Name for logging purpose.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
asyncMap<
F> (Future< F> map(T), {String? name, bool keepAlive = false, List<Object?> ? args}) → Emitter<F> -
Available on Creator<
T> , provided by the CreatorExtension extension -
map<
F> (F map(T), {String? name, bool keepAlive = false, List< Object?> ? args}) → Creator<F> -
Available on Creator<
T> , provided by the CreatorExtension extension -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reduce(
T combine(T previous, T element), List< Object?> ? args, {String? name, bool keepAlive = false}) → Creator<T> -
Available on Creator<
Set args to some unique value if creator is used on the fly, or null if the creator defined in a stable variable. See CreatorBase.args.T> , provided by the CreatorExtension extension -
toString(
) → String -
A string representation of this object.
inherited
-
where(
bool test(T), {String? name, bool keepAlive = false, List< Object?> ? args}) → Emitter<T> -
Available on Creator<
T> , provided by the CreatorExtension extension
Operators
-
operator ==(
dynamic other) → bool -
See args.
inherited