Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
driver_request.dart File Reference

Go to the source code of this file.

Classes

class  Station

Functions

 DriverRequest ({ required this.id, required this.driverName, required this.creationDate, required this.stations, required this.startPoint, required this.endPoint, })
factory DriverRequest fromJson (Map< String, dynamic > json)
Map< String, dynamic > toJson ()

Variables

class Station id
final String driverName
final DateTime creationDate
final List< Stationstations
final String startPoint
final String endPoint
int get numberOfStations => stations.length

Function Documentation

◆ DriverRequest()

DriverRequest ( { required this.id, required this.driverName, required this.creationDate, required this.stations, required this.startPoint, required this.endPoint, } )
Here is the caller graph for this function:

◆ fromJson()

factory DriverRequest fromJson ( Map< String, dynamic > json)

Definition at line 60 of file driver_request.dart.

Here is the call graph for this function:

◆ toJson()

Map< String, dynamic > toJson ( )

Definition at line 74 of file driver_request.dart.

Variable Documentation

◆ creationDate

final DateTime creationDate

Definition at line 44 of file driver_request.dart.

◆ driverName

final String driverName

Definition at line 43 of file driver_request.dart.

◆ endPoint

final String endPoint

Definition at line 47 of file driver_request.dart.

◆ id

class Station id

◆ numberOfStations

int get numberOfStations => stations.length

Definition at line 58 of file driver_request.dart.

◆ startPoint

final String startPoint

Definition at line 46 of file driver_request.dart.

◆ stations

final List<Station> stations

Definition at line 45 of file driver_request.dart.