formula1_data library

A Formula1 data package.

Classes

AverageSpeed
Average speed data
Circuit
Constructor
Constructor data
Driver
Driver data
FastestLap
Fastest lap data
FirstPractice
Location
Qualifying
Race
Race data
Result
Race result data
Schedule
SecondPractice
Sprint
Status
ThirdPractice
Time
Time data

Functions

getCircuit({int? year}) Future<List<Circuit>>
getConstructors({int? year}) Future<List<Constructor>>
Get constructors data. If you want information for a specific year, consider using year.
getDrivers({int? year}) Future<List<Driver>>
Get divers data. If you want information for a specific year, consider using year.
getResults({int? year, int? round}) Future<List<Race>>
Get results data. If you want information for a specific year or round, consider using year or round.
getSchedule({int? year}) Future<List<Schedule>>
getStatus() Future<List<Status>>
Get constructors data.