AdditionalLoadingState class

Available Extensions
Annotations
  • @freezed

Constructors

AdditionalLoadingState.error(Exception exception)
const
factory
AdditionalLoadingState.fixed({required bool canRequestAdditionalData})
const
factory
AdditionalLoadingState.loading()
const
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 fixed(_Fixed value), required TResult loading(_Loading value), required TResult error(_Error value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult fixed(_Fixed value)?, TResult loading(_Loading value)?, TResult error(_Error value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult fixed(_Fixed value)?, TResult loading(_Loading value)?, TResult error(_Error value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult fixed(bool canRequestAdditionalData)?, TResult loading()?, TResult error(Exception exception)?, 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 fixed(bool canRequestAdditionalData), required TResult loading(), required TResult error(Exception exception)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult fixed(bool canRequestAdditionalData)?, TResult loading()?, TResult error(Exception exception)?}) → TResult?
inherited

Operators

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