AlbumRepositoryImpl class Null safety

The implementation for the album repository.

Implemented types
Annotations

Constructors

AlbumRepositoryImpl({required Logger logger, required AlbumDataSource dataSource})
Creates album repository implementation.

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.
override
getAllAlbums() Future<Result<List<Album>>>
Returns result with all available photo albums.
override
getUserAlbums(UserId userId) Future<Result<List<Album>>>
Returns result with all photo albums from a given user.
override
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