HttpService class
Constructors
Properties
Methods
-
authenticateUser(
{required dynamic token, required dynamic firstName, required dynamic lastName}) → Future< Response> -
createAnswer(
{required String answer, required int? user, required int? question}) → Future< Response> -
get(
dynamic url, {Map< String, String> ? headers}) → Future<Response> -
getAllQuestions(
) → Future< Response> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
post(
{required dynamic url, Map< String, String> ? headers, dynamic body, Encoding? encoding}) → Future<Response> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited