ApiRepository class
Constructors
- ApiRepository.new()
-
π 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