LocalityAPI class
Used internally only for methods you can Access via LocalityAuth
Constructors
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
-
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
-
call(
String endpoint, Map< String, dynamic> data, OnResult andThen) → void - Don't use it, it's only for internal use. It calls the API-routes for authentication so that later your request to yield a socket does not get blocked.
-
generateHmac(
String data, String appSecret) → Future< String> - Sign the payload with your appSecret. Otherwise the server will deny the request