Autotrader class abstract

A chopper service for accessing the api at autotrader.co.uk

Annotations
  • @ChopperApi(baseUrl: "/")

Constructors

Autotrader()

Properties

client ↔ ChopperClient
getter/setter pairinherited
definitionType Type
Used internally to retrieve the service from ChopperClient.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

authenticate({required String key, required String secret}) Future<Response<AuthenticateBody>>
Retrieves a temporary auth token
getServiceStockManagementVehicleValuation({required String registration, required int odometerReadingMiles, bool valuations = true, String? token}) Future<Response<VehicleValuationBody>>
Retrieves vehicle info with valuation data
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

Static Methods

create([ChopperClient? client]) Autotrader
A helper method that helps instantiating the service. You can omit this method and use the generated class directly instead.