close method

dynamic close()

Implementation

close() {
  imageSubscription?.cancel();
  imageSubscription = null;
}