ApiRepository class
Constructors
- ApiRepository()
-
🔑 Get singleton instance
factory
Properties
Methods
-
delete<
T> ({required String endpoint, required T fromJson(dynamic)}) → Future< ResponseModel< T> > -
get<
T> ({required String endpoint, required T fromJson(dynamic), Map< String, dynamic> ? queryParameters}) → Future<ResponseModel< T> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post<
T> ({required String endpoint, dynamic body, required T fromJson(dynamic)}) → Future< ResponseModel< T> > -
put<
T> ({required String endpoint, required T fromJson(dynamic), dynamic body}) → Future< ResponseModel< T> > -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited