CalculateModel class
Constructors
- CalculateModel({num? totalDeliveryPrice, DateTime? etaToPu, DateTime? etaToDel, num? orderDistance, num? deadHeadDistance, num? evaluatedStage})
-
CalculateModel.fromMap(Map<
String, dynamic> json) -
factory
Properties
- deadHeadDistance ↔ num?
-
getter/setter pair
- etaToDel ↔ DateTime?
-
getter/setter pair
- etaToPu ↔ DateTime?
-
getter/setter pair
- evaluatedStage ↔ num?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- orderDistance ↔ num?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalDeliveryPrice ↔ num?
-
getter/setter pair
Methods
-
copyWith(
{num? totalDeliveryPrice, DateTime? etaToPu, DateTime? etaToDel, num? orderDistance, num? deadHeadDistance, num? evaluatedStage}) → CalculateModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited