AcceptanceForecast class
How many drivers would accept an amount, and who would arrive first.
When there is real data on nearby drivers this is not an estimate: it is counting how many of them make money at that amount.
- Annotations
-
- @immutable
- @experimental
Constructors
Properties
- driversConsidered → int
-
How many drivers it was calculated over.
final
- driversLikelyToAccept → int
-
How many of the nearby drivers make money at that amount.
final
- estimated → bool
-
Is there any assumption behind this number?
final
- expectedPickup → Duration?
-
How long the closest of the drivers who would accept would take to
arrive.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- probability → double
-
Probability that someone accepts, between 0 and 1.
final
- 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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited