call method Null safety
- GetPhotoParams params
override
Executes use case for parameters
.
Implementation
@override
Future<Result<Photo>> call(GetPhotoParams params) {
return _repository.getPhoto(params.photoId);
}
Executes use case for parameters
.
@override
Future<Result<Photo>> call(GetPhotoParams params) {
return _repository.getPhoto(params.photoId);
}