AttachmentProgress class Null safety

附件发送/接收进度通知

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

AttachmentProgress({required String uuid, required int total, required int transferred})
AttachmentProgress.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
total int
消息附件文件总大小
final
transferred int
消息附件文件当前已传输的字节数
final
uuid String
消息的UUID
final

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.
inherited

Operators

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