NIMFileAttachment constructor

NIMFileAttachment({
  1. String? path,
  2. required int? size,
  3. String? md5,
  4. String? url,
  5. String? base64,
  6. String? displayName,
  7. String? extension,
  8. int? expire,
  9. NIMNosScene nosScene = NIMNosScenes.defaultIm,
  10. bool forceUpload = false,
})

Implementation

NIMFileAttachment(
    {this.path,
    required this.size,
    this.md5,
    this.url,
    this.base64,
    this.displayName,
    this.extension,
    this.expire,
    this.nosScene = NIMNosScenes.defaultIm,
    this.forceUpload = false});