FipeService class
Tabela FIPE (/fipe/{action}).
- Inheritance
-
- Object
- BaseService
- FipeService
Constructors
- FipeService(ApiHttpClient http)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- http → ApiHttpClient
-
The HTTP client instance.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildUrl(
String path) → String -
Builds the full URL for an endpoint.
inherited
-
consultarAnoModelo(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar ano modelo:
POST /fipe/ConsultarAnoModelo. -
consultarMarcas(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar marcas:
POST /fipe/ConsultarMarcas. -
consultarModelos(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar modelos:
POST /fipe/ConsultarModelos. -
consultarModelosAtravesDoAno(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar modelos através do ano:
POST /fipe/ConsultarModelosAtravesDoAno. -
consultarTabelaDeReferencia(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar tabela de referência:
POST /fipe/ConsultarTabelaDeReferencia. -
consultarValorComTodosParametros(
Json body, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Consultar valor com todos parâmetros:
POST /fipe/ConsultarValorComTodosParametros. -
delete(
String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future< Json> -
Executes a DELETE request.
inherited
-
download(
String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future< List< int> > -
Downloads raw bytes (PDF, images, etc.).
inherited
-
get(
String path, [RequestOptions options = const RequestOptions()]) → Future< Json> -
Executes a GET request.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(
String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future< Json> -
Executes a PATCH request.
inherited
-
post(
String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future< Json> -
Executes a POST request.
inherited
-
put(
String path, [Object? body, RequestOptions options = const RequestOptions()]) → Future< Json> -
Executes a PUT request.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited