Repository class abstract

Repositories are higher-level services that depend on Datasources or other Repositories to combine their functionalities into logical operations.

Example: An AuthenticationRepository exposes a signUp() method that uses an AuthenticationDatasource and a UserDatabaseDatasource to both authenticate the user and create their account data in the database.

Constructors

Repository(Reader reader)

Properties

hashCode int
The hash code for this object.
no setterinherited
reader → Reader
A reference to a Riverpod Reader which can be user for reading dependencies like datasources or other Repositories.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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