MappingFlow<T, T2> class
Null safety
A flow that will map a value from one type to another type
- Inheritance
- Available Extensions
Constructors
-
MappingFlow(Flow<
T> _source, FlowMapper<T, T2> _mapper) -
Create a Flow that maps the value in the
source
flow using themapper
function.
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- hasListeners → bool
- Whether any listeners are currently registered.
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- value → T2
-
The current value held by this flow
read-onlyoverride
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object changes.
inherited
-
dispose(
) → void -
Discards any resources used by the object. After this is called, the
object is not in a usable state and should be discarded (calls to
addListener will throw after the object is disposed).
@mustCallSuperinherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
notifyListeners(
) → void - Call all the registered listeners.
-
onListen(
) → void -
override
-
onRemoveListeners(
) → void -
override
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that are
notified when the object changes.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited