removeImage method

void removeImage(
  1. LocalDatabase localDatabase
)

Removes the current transient image for imageField and barcode.

Implementation

void removeImage(LocalDatabase localDatabase) {
  _transientFiles.remove(_getImageKey());
  localDatabase.notifyListeners();
}