UpdateTaskParams class abstract

Inheritance
Annotations
  • @freezed

Constructors

UpdateTaskParams({@JsonKey.new(name: "class_id") required int classId, @JsonKey.new(name: "task_id") String? taskId, @Default.new("") String content, @Default.new(-1) int duration, @JsonKey.new(name: 'only_create') @Default.new(0) int createOnly, @JsonKey.new(name: 'enable_callback') @Default.new(0) int enableCallback, @JsonKey.new(name: 'binding_user') String? bindingUser})
factory
UpdateTaskParams.fromJson(Map<String, dynamic> json)
factory

Properties

bindingUser String?
no setterinherited
classId int
no setterinherited
content String
no setterinherited
copyWith → $UpdateTaskParamsCopyWith<UpdateTaskParams>
Create a copy of UpdateTaskParams with the given fields replaced by the non-null parameter values.
no setterinherited
createOnly int
no setterinherited
duration int
no setterinherited
enableCallback int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskId String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this UpdateTaskParams to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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