ServerProcessingParams class

Params of the server.processing event.

Annotations
  • @freezed

Constructors

ServerProcessingParams({@JsonKey(name: 'action') required String action, @JsonKey(name: 'message') required String message, @JsonKey(name: 'has_error') required bool hasError, @JsonKey(name: 'num') required int num, @JsonKey(name: 'total') required int total})
const
factory
ServerProcessingParams.fromJson(Map<String, dynamic> json)
factory

Properties

action String
Action name.
no setterinherited
copyWith → $ServerProcessingParamsCopyWith<ServerProcessingParams>
no setterinherited
hasError bool
Has error.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
message String
Message.
no setterinherited
num int
Current processing item.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
Total processing items.
no setterinherited

Methods

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

Operators

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