NavigationStack<T> class

Constructors

Properties

getIO → IO<IList<T>>
IO version of get.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
pop → IO<Unit>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<IList<T>>
Access a Stream of the value for this Ref.
no setterinherited
transform NavigationStackTransform<T>
final

Methods

get<R, E>() → ZIO<R, E, IList<T>>
Returns the current value.
inherited
getAndSet<R, E>(IList<T> a) → ZIO<R, E, IList<T>>
Gets the current value and then sets it to a.
inherited
getAndSetIO(IList<T> a) → IO<IList<T>>
IO version of getAndSet.
inherited
getAndUpdate<R, E>(IList<T> f(IList<T> _)) → ZIO<R, E, IList<T>>
Gets the current value and then updates it using the given function.
inherited
getAndUpdateIO(IList<T> f(IList<T> _)) → IO<IList<T>>
IO version of getAndUpdate.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
push(T item) → IO<Unit>
replace(IList<T> stack) → IO<Unit>
replaceWith(T item) → IO<Unit>
set<R, E>(IList<T> a) → ZIO<R, E, Unit>
Sets the value to a.
inherited
setIO(IList<T> a) → IO<Unit>
IO version of set.
inherited
toString() String
A string representation of this object.
inherited
unsafeDispose() → void
Disposes the internal StreamController.
inherited
unsafeGet() → IList<T>
Unsafe version of get.
inherited
unsafeValueDidChange(IList<T> value) → void
Called every time the value changes.
update<R, E>(IList<T> f(IList<T> _)) → ZIO<R, E, Unit>
Updates the value using the given function.
inherited
updateAndGet<R, E>(IList<T> f(IList<T> _)) → ZIO<R, E, IList<T>>
Updates the value using the given function and returns the new value.
inherited
updateAndGetIO(IList<T> f(IList<T> _)) → IO<IList<T>>
IO version of updateAndGet.
inherited
updateIO(IList<T> f(IList<T> _)) → IO<Unit>
IO version of update.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited