update method

Future<ResponseItemDTO> update({
  1. String? id,
  2. PhotoBody? photo,
})

Implementation

Future<ResponseItemDTO> update({String? id, PhotoBody? photo}) async {
  return await _repository!.update(
    id: id,
    photo: photo,
  );
}