createFileMessage static method

EchatFMModel createFileMessage({
  1. required String fileUrl,
  2. required String fileNam,
  3. required String fileSize,
})

文件消息

Implementation

static EchatFMModel createFileMessage(
    {required String fileUrl,
    required String fileNam,
    required String fileSize}) {
  return EchatFMModel._(
      msgType: "file",
      fileUrl: fileUrl,
      fileNam: fileNam,
      fileSize: fileSize);
}