BaseRepository<S extends BaseService, T> class
abstract
Agent that handles the structure process of raw data, coming from a Service agent.
Parameters:
- S: service that extends BaseService.
- T: model with which structure the raw data.
Constructors
- BaseRepository(S service)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → S
-
Agent that handles retrieve of pure raw information from the API or Firebase...
final
Methods
-
fetchData(
) → Future< T> - Calls the service internal
-
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