getPhoto method Null safety
@GET("/photos/{photoId}"), override
Returns a single photo model.
Implementation
@GET("/photos/{photoId}")
@override
Future<PhotoModel> getPhoto({
@Path("photoId") required int photoId,
});
Returns a single photo model.
@GET("/photos/{photoId}")
@override
Future<PhotoModel> getPhoto({
@Path("photoId") required int photoId,
});