EAsClient class

Main API client

Caches data

Login options:

Use EAsClient.refreshToken to refresh access token

Constructors

EAsClient()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearCache() → void
Clears all cached data
getTimeTable(Login login, DateTime date, [bool clearCache = false]) Future<TimeTable>
Get timetable for date with login
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

Static Methods

refreshToken(Login login) Future<Login>
Refresh a login state (access token)
tokenLogin(String token) Future<Login>
Login with a refresh token as token
userLogin(String username, String password) Future<Login>
Login with username and password