UnpackAssistantEvent class Null safety

UnpackAssistantEvent are the events that the UnpackAssistantBloc can respond to.

Annotations

Constructors

UnpackAssistantEvent.selectApp({required String app})
User selected the app or service to import data from.
const
factory
UnpackAssistantEvent.selectArchive({required XFile xFile})
User selected the archive file to be imported
const
factory
UnpackAssistantEvent.selectData({required List<String> data})
User selected the data to be imported from the archive.
const
factory
UnpackAssistantEvent.start()
User starts the import process.
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 selectApp(_SelectApp value), required TResult selectArchive(_SelectArchive value), required TResult selectData(_SelectData value), required TResult start(_Start value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? selectApp(_SelectApp value)?, TResult? selectArchive(_SelectArchive value)?, TResult? selectData(_SelectData value)?, TResult? start(_Start value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult selectApp(_SelectApp value)?, TResult selectArchive(_SelectArchive value)?, TResult selectData(_SelectData value)?, TResult start(_Start value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult selectApp(String app)?, TResult selectArchive(XFile xFile)?, TResult selectData(List<String> data)?, TResult start()?, 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 selectApp(String app), required TResult selectArchive(XFile xFile), required TResult selectData(List<String> data), required TResult start()}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? selectApp(String app)?, TResult? selectArchive(XFile xFile)?, TResult? selectData(List<String> data)?, TResult? start()?}) → TResult?
inherited

Operators

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