RouteData class

Constructors

RouteData({required String code, required String description, required String homeBranch, required String driverEmployeeId, required String driverMFSDisplayName, required String driverTruck, required String routeMappingColor})
RouteData.fromJson(Map<String, dynamic> json)
factory

Properties

code String
Route Code
getter/setter pair
description String
Route Description
getter/setter pair
driverEmployeeId String
Route Driver Employee Id
getter/setter pair
driverMFSDisplayName String
Route Driver Employee MFS Display Name
getter/setter pair
driverTruck String
Route Driver Default Truck
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
homeBranch String
Route Home Branch
getter/setter pair
routeMappingColor String
Route Color in hex
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

getRouteByCode({required String code}) Future<RouteData?>
getRoutesList() Future<List<RouteData>>