EchatFMModel constructor

EchatFMModel({
  1. required String msgType,
  2. String? content,
  3. String? picUrl,
  4. String? thumbUrl,
  5. String? fileUrl,
  6. String? fileNam,
  7. String? fileSize,
})

Implementation

factory EchatFMModel({
  required String msgType,
  String? content,
  String? picUrl,
  String? thumbUrl,
  String? fileUrl,
  String? fileNam,
  String? fileSize,
}) {
  return EchatFMModel._(
    msgType: msgType,
    content: content,
    picUrl: picUrl,
    thumbUrl: thumbUrl,
    fileUrl: fileUrl,
    fileNam: fileNam,
    fileSize: fileSize,
  );
}