Client class
A client to retrieve timetable changes.
Constructors
- Client(String url)
- Creates a client for the specified URL.
- Client.withAuthentication(String url, String authentication)
-
Creates a client for the specified URL, using the given
Authentication
header. - Client.withCredentials(String url, String username, String password)
-
Creates a client for the specified URL, using HTTP
Basic
authentication.
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
-
get(
Weekday day) → Future< Vplan> - Retrieves the timetable changes for the given day of week.
-
getString(
Weekday day) → Future< String> - Returns the raw response body for the given day of week.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited