ApplicationEffect class

Implementers
Annotations
  • @freezed

Constructors

ApplicationEffect.fail({String? message, void onFail()?})
factory
ApplicationEffect.none({void onComplete()?})
factory
ApplicationEffect.persist({void onComplete()?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult persist(ApplicationEffectPersist value), required TResult none(ApplicationEffectNone value), required TResult fail(ApplicationEffectFail value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? persist(ApplicationEffectPersist value)?, TResult? none(ApplicationEffectNone value)?, TResult? fail(ApplicationEffectFail value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult persist(ApplicationEffectPersist value)?, TResult none(ApplicationEffectNone value)?, TResult fail(ApplicationEffectFail value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult persist(void onComplete()?)?, TResult none(void onComplete()?)?, TResult fail(String? message, void onFail()?)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult persist(void onComplete()?), required TResult none(void onComplete()?), required TResult fail(String? message, void onFail()?)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? persist(void onComplete()?)?, TResult? none(void onComplete()?)?, TResult? fail(String? message, void onFail()?)?}) → TResult?
inherited

Operators

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