cancel method

void cancel()

Implementation

void cancel() {
  imgPath.value = '';
  imgPath.value = '';
  imgFile = null;
  update();
}