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

barcode String
final
context → dynamic
final
hashCode int
The hash code for this object. [...]
read-only, inherited
localDatabase → dynamic
final
refresh bool
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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