DRFApi class
Constructors
Properties
- baseUrl → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- refreshPath → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tokenPath → String
-
final
- usernameField → String
-
final
Methods
-
cleanBaseUrl(
String url) → String -
cleanPath(
String url) → String -
delete(
String path) → Future< Response> -
get(
String path) → Future< Response> -
isLoggedIn(
) → Future< bool> -
login(
String username, String password) → Future< String> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
String path, Map< String, dynamic> body) → Future<Response> -
put(
String path, Map< String, dynamic> body) → Future<Response> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited