miler map
This commit is contained in:
@@ -482,14 +482,13 @@ class Trip {
|
||||
/// `eta` is read last and usually answers nothing — on the v1 adapter it is
|
||||
/// a duration, not a clock, and [_parseTimestamp] rejects it rather than
|
||||
/// inventing a 15th of the month out of "15 min".
|
||||
static DateTime? dayPartTimeOf(Map<String, dynamic> stop) =>
|
||||
_parseTimestamp(
|
||||
stop['expected_pickup_time'] ??
|
||||
stop['expectedpickuptime'] ??
|
||||
stop['assignedat'] ??
|
||||
stop['assignedon'] ??
|
||||
stop['eta'],
|
||||
);
|
||||
static DateTime? dayPartTimeOf(Map<String, dynamic> stop) => _parseTimestamp(
|
||||
stop['expected_pickup_time'] ??
|
||||
stop['expectedpickuptime'] ??
|
||||
stop['assignedat'] ??
|
||||
stop['assignedon'] ??
|
||||
stop['eta'],
|
||||
);
|
||||
|
||||
/// Address components every stop on this trip shares — city, state,
|
||||
/// pincode and so on. Cached per build by the caller.
|
||||
|
||||
Reference in New Issue
Block a user