RequestService class
Envio de requisições.
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
-
makeDelete(
RequestModel? config) → Future< bool> -
Cria uma requisição HTTP do tipo DELETE com a
configinformada. -
makeGet<
T> (RequestModel? config) → Future< T?> -
Cria uma requisição HTTP do tipo GET com a
configinformada. -
makePost<
T, TEntity> (RequestModel? config) → Future< T?> -
Cria uma requisição HTTP do tipo POST com a
configinformada. OTEntitydeve 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
configinformada. -
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