WialonSdk class Null safety
Wialon SDK for dart Documentation available at https://sdk.wialon.com/wiki/en/sidebar/remoteapi/apiref/apiref
Constructors
Properties
- baseUrl → String
-
read-only
- debug → bool
-
debug enables the logging of the library
final
- hashCode → int
-
The hash code for this object.
read-only, inherited
- host → String
-
host is the host of the Wialon server, by default it is 'https://hst-api.wialon.com'
But you can change it to your server, or if you use Wialon Local, replace the host to your
server
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- sessionId ↔ String?
-
sessionId is an existing session id, use it to reuse the session
read / write
Methods
-
call(
{required String method, required dynamic parameters}) → Future< Map< String, dynamic> > - Make a call to the Wialon API
-
log(
dynamic content) → void - debug printer
-
login(
{required String token}) → Future< Map< String, dynamic> > - Login into Wialon with the API token
-
logout(
) → Future< void> - Logout of Wialon
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
reverseGeocoding(
{required double latitude, required double longitude, int flags = 1255211008}) → Future< String> - Rever geocoding, returns name of the location that corresponds to the latitude and longitude given
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited