APIConnector class Null safety
Constructors
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
createUser(
dynamic username, dynamic email, dynamic password) → Future< Map< String, dynamic> > - create user
-
getbalance(
) → Future< double> - Alle Benutzerdaten
-
getHistory(
) → Future< List> - Historie-Daten
-
getlogintoken(
dynamic username, dynamic password) → Future< Map< String, dynamic> > - login in the API and get a token
-
getusername(
) → String - get username
-
logout(
) → void - logout
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
sendcoordinates(
dynamic lat, dynamic long, dynamic time) → Future< int> - send coordinates to the server
-
stopriding(
) → Future< int> - tells the server to calculate the las ride
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited