ChatMedia constructor

ChatMedia({
  1. required String url,
  2. required String fileName,
  3. required MediaType type,
  4. bool isUploading = false,
  5. DateTime? uploadedDate,
  6. Map<String, dynamic>? customProperties,
})

Implementation

ChatMedia({
  required this.url,
  required this.fileName,
  required this.type,
  this.isUploading = false,
  this.uploadedDate,
  this.customProperties,
});