RequestService class

Envio de requisições.

Constructors

RequestService()

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

makeDelete(RequestModel? config) Future<bool>
Cria uma requisição HTTP do tipo DELETE com a config informada.
makeGet<T>(RequestModel? config) Future<T?>
Cria uma requisição HTTP do tipo GET com a config informada.
makePost<T, TEntity>(RequestModel? config) Future<T?>
Cria uma requisição HTTP do tipo POST com a config informada. O TEntity deve ser informado se a resposta for um SearchResponseModel, caso contrário basta usar void.
makePut<T>(RequestModel? config) Future<T?>
Cria uma requisição HTTP do tipo PUT com a config informada.
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