ResultModel class

code : 0 // 查询编码(错误编码或者成功编码,可在错误编码文档中查看具体含义) data : // 为任意数据类型,可根据实际情况返回 {"vehicleNumber":"","driverName":"","shippingNoteNumber":"","serialNumber":"","interval":""} fail : "" // 错误描述 message : "" // 错误提示信息

Constructors

ResultModel.new({num? code, Data? data, String? fail, String? message})
ResultModel.fromJson(dynamic json)

Properties

code num?
no setter
data Data?
no setter
fail String?
no setter
hashCode int
The hash code for this object.
no setterinherited
message String?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({num? code, Data? data, String? fail, String? message}) ResultModel
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonString() String
toString() String
A string representation of this object.
inherited

Operators

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