NEChatRoomImageMessage constructor

NEChatRoomImageMessage({
  1. Map<String, dynamic>? senderExtension,
  2. String? content,
  3. int? time,
  4. int? width,
  5. int? height,
  6. required String path,
  7. required String displayName,
})

Implementation

NEChatRoomImageMessage({
  Map<String, dynamic>? senderExtension,
  String? content,
  int? time,
  int? width,
  int? height,
  required String path,
  required String displayName,
})   : _attachment = NEImageAttachment(
        width: width,
        height: height,
        url: path,
        displayName: displayName,
      ),
      super(
        senderExtension: senderExtension,
        content: content,
        time: time,
      );