ProductDialogHelper class Null safety
Dialog helper for product barcode search
Constructors
- ProductDialogHelper({required String barcode, required dynamic context, required dynamic localDatabase, required bool refresh})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
openBestChoice(
) → Future -
openError(
dynamic fetchedProduct) → void - Opens an error dialog; to be used only if the status is not ok.
-
openUniqueProductSearch(
) → Future -
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Methods
-
getErrorMessage(
String message) → dynamic