Task constructor
Task({
- JSObject attributes,
- String name,
- JSArray<
VehicleJourneySegment> remainingVehicleJourneySegments, - String status,
- String type,
- Date? estimatedCompletionTime,
- VehicleLocationUpdate? latestVehicleLocationUpdate,
- String? outcome,
- LatLngLiteral? outcomeLocation,
- String? outcomeLocationSource,
- Date? outcomeTime,
- LatLngLiteral? plannedLocation,
- TimeWindow? targetTimeWindow,
- String? trackingId,
- String? vehicleId,
Implementation
external Task({
JSObject /*Object<[string]>*/ attributes,
String name,
JSArray<VehicleJourneySegment> remainingVehicleJourneySegments,
String status,
String type,
Date? estimatedCompletionTime,
VehicleLocationUpdate? latestVehicleLocationUpdate,
String? outcome,
LatLngLiteral? outcomeLocation,
String? outcomeLocationSource,
Date? outcomeTime,
LatLngLiteral? plannedLocation,
TimeWindow? targetTimeWindow,
String? trackingId,
String? vehicleId,
});