getAllAlbums method Null safety

  1. @GET("/albums")
  2. @override
Future<List<AlbumModel>> getAllAlbums()
@GET("/albums"), override

Returns list with all available album models.

Implementation

@GET("/albums")
@override
Future<List<AlbumModel>> getAllAlbums();