AlbumRepository class Null safety

The repository interface for handling photo albums.

Implementers

Constructors

AlbumRepository()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getAlbum(AlbumId albumId) Future<Result<Album>>
Returns result with a single album.
getAllAlbums() Future<Result<List<Album>>>
Returns result with all available photo albums.
getUserAlbums(UserId userId) Future<Result<List<Album>>>
Returns result with all photo albums from a given user.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited