dispatchRemovePhotoEvent method
For remove photo from perticular index
Implementation
dispatchRemovePhotoEvent(int index) {
  var imageList = (state as ImageListState).images;
  imageList[index].imageUrl = null;
  add(ImageListEvent(imageList));
}For remove photo from perticular index
dispatchRemovePhotoEvent(int index) {
  var imageList = (state as ImageListState).images;
  imageList[index].imageUrl = null;
  add(ImageListEvent(imageList));
}