ApiService class
Constructors
- ApiService(String baseUrl)
Properties
Methods
-
getProductList(
) → Future< List> - Fetch the product list from the API
-
login(
String email, String password) → Future< Map< String, dynamic> > - Login with email and password
-
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