UnpackAssistantState class Null safety

UnpackAssistantState are the states that the UnpackAssistantBloc can be.

Annotations

Constructors

UnpackAssistantState.apps({required List<String> apps})
Step 1: Select the app or services.
const
factory
UnpackAssistantState.archive()
Step 2: Select the archive file.
const
factory
UnpackAssistantState.completed()
Step 5: Complete the import.
const
factory
UnpackAssistantState.data({required List<String> data})
Step 3: Select data from archive to import.
const
factory
UnpackAssistantState.errored({required Object error, required StackTrace stackTrace})
Assistant has errored.
const
factory
UnpackAssistantState.initial()
Assistant is created.
const
factory
UnpackAssistantState.processing({required int progress})
Step 4: Process the archive.
const
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

map<TResult extends Object?>({required TResult initial(_Initial value), required TResult apps(_Apps value), required TResult archive(_Archive value), required TResult data(_Data value), required TResult processing(_Processing value), required TResult completed(_Completed value), required TResult errored(_Errored value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? initial(_Initial value)?, TResult? apps(_Apps value)?, TResult? archive(_Archive value)?, TResult? data(_Data value)?, TResult? processing(_Processing value)?, TResult? completed(_Completed value)?, TResult? errored(_Errored value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult initial(_Initial value)?, TResult apps(_Apps value)?, TResult archive(_Archive value)?, TResult data(_Data value)?, TResult processing(_Processing value)?, TResult completed(_Completed value)?, TResult errored(_Errored value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult initial()?, TResult apps(List<String> apps)?, TResult archive()?, TResult data(List<String> data)?, TResult processing(int progress)?, TResult completed()?, TResult errored(Object error, StackTrace stackTrace)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult initial(), required TResult apps(List<String> apps), required TResult archive(), required TResult data(List<String> data), required TResult processing(int progress), required TResult completed(), required TResult errored(Object error, StackTrace stackTrace)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? initial()?, TResult? apps(List<String> apps)?, TResult? archive()?, TResult? data(List<String> data)?, TResult? processing(int progress)?, TResult? completed()?, TResult? errored(Object error, StackTrace stackTrace)?}) → TResult?
inherited

Operators

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