JournalState class

Implementers
Annotations
  • @freezed

Constructors

JournalState.initial({@Default(EntryRef.initial) EntryRef entryRef, required EntryRef onStartEntryRef})
factory
JournalState.ready({required EntryRef entryRef})
factory

Properties

copyWith → $JournalStateCopyWith<JournalState>
no setterinherited
entryRef → EntryRef
no setterinherited
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 initial(JournalStateInitial value), required TResult ready(JournalStateReady value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? initial(JournalStateInitial value)?, TResult? ready(JournalStateReady value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(JournalStateInitial value)?, TResult ready(JournalStateReady value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial(EntryRef entryRef, EntryRef onStartEntryRef)?, TResult ready(EntryRef entryRef)?, 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 initial(EntryRef entryRef, EntryRef onStartEntryRef), required TResult ready(EntryRef entryRef)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial(EntryRef entryRef, EntryRef onStartEntryRef)?, TResult? ready(EntryRef entryRef)?}) → TResult?
inherited

Operators

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