ChatFileMessageBody class
文件类消息的基类。
- Inheritance
- 
    - Object
- ChatMessageBody
- ChatFileMessageBody
 
Constructors
- ChatFileMessageBody({required String localPath, String? displayName, int? fileSize, MessageType type = MessageType.FILE})
- 创建一条带文件附件的消息。
- ChatFileMessageBody.fromJson({required Map map, MessageType type = MessageType.FILE})
Properties
- displayName ↔ String?
- 
  附件的名称。
  getter/setter pair
- fileSize ↔ int?
- 
  附件的大小,以字节为单位。
  getter/setter pair
- fileStatus ↔ DownloadStatus
- 
  附件的下载状态。
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- localPath ↔ String
- 
  附件的本地路径。
  latefinal
- remotePath ↔ String?
- 
  附件的服务器路径。
  getter/setter pair
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- secret ↔ String?
- 
  获取附件的密钥。
  getter/setter pair
- type ↔ MessageType
- 
  获取消息类型。
  getter/setter pairinherited
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toJson() → Map< String, dynamic> 
- 
  
  override
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited