DHL_Measure_Model class

Constructors

DHL_Measure_Model({required int originID, required int destID, required dynamic distance, required int duration, required String info, required int code})

Properties

code int
在驾车模式下有效。默认为0;1:指定地点之间没有可以行车的道路;2:起点/终点 距离所有道路均距离过远(例如在海洋/矿业);3;起点/终点不在中国境内;
final
destID int
终点坐标,终点坐标序列号(从1开始)
final
distance ↔ dynamic
路径距离,单位:米
getter/setter pair
duration int
预计行驶时间,单位:秒
final
hashCode int
The hash code for this object.
no setterinherited
info String
错误信息,建议用此字段判断请求是否成功
final
originID int
起点坐标,起点坐标序列号(从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.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(dynamic map) DHL_Measure_Model