TerraRestfulService class

Restful service to handle calls

Constructors

TerraRestfulService(TerraHttpClientHandler clientService)

Properties

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

Methods

deleteAsync(String uri) Future<bool>
Runs a DELETE operation via HttpClient to delete information.
deserializeResponse(Response responseMessage) Future<TerraRestfulResponse>
forceDisconnectHttpClient() → void
getAsync<TResult>(String uri) Future<TerraRestfulResponse>
Runs a GET operation via HttpClient to retrieve information.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postAsync<TReceive>(String endpoint, String data) Future<TerraRestfulResponse>
Runs a POST operation via HttpClient to send information.
putAsync<TReceive>(String endpoint, String data) Future<TerraRestfulResponse>
Runs a PUT operation via HttpClient to send and update information.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited