APIRequest class
Creates the API Request from the context
Constructors
- APIRequest(dynamic context)
- Constructor context
Properties
- context ↔ dynamic
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createBearerToken(
) → String - Creates the Authorisation bearer token using the RSA public key provided
-
createDefaultHeaders(
) → void - Add the default headers
-
execute(
) → Future< APIResponse?> - Does the HTTP Request
-
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