SMHTaskResultEntity class Null safety
- Annotations
-
- @JsonSerializable()
Constructors
- SMHTaskResultEntity()
-
SMHTaskResultEntity.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- remaining ↔ int?
-
remaining: 整数,剩余任务数量(如果该任务支持返回 remaining);
read / write
-
result
↔ List<
SMHTaskResultResult> ? -
result: 对象数组,任务成功完成后的返回结果,具体格式由具体的异步任务确定;
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- status ↔ int?
-
status:整数,任务状态码,202: 任务进行中,200: 任务成功完成且有返回结果,返回结果在 result 字段中,204: 任务成功完成且无返回结果,500: 任务执行失败;499: 用户取消; 207: 多状态;
read / write
- taskId ↔ int?
-
taskid: 整数,任务 ID;
read / write
- total ↔ int?
-
total: 整数,总的任务数量(如果该任务支持返回 total);
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited