NIMImageAttachment constructor

NIMImageAttachment({
  1. String? thumbPath,
  2. String? thumbUrl,
  3. int? width,
  4. int? height,
  5. String? path,
  6. String? base64,
  7. required int? size,
  8. String? md5,
  9. String? url,
  10. String? displayName,
  11. String? extension,
  12. int? expire,
  13. NIMNosScene nosScene = NIMNosScenes.defaultIm,
  14. bool forceUpload = false,
})

Implementation

NIMImageAttachment(
    {this.thumbPath,
    this.thumbUrl,
    this.width,
    this.height,
    String? path,
    String? base64,
    required int? size,
    String? md5,
    String? url,
    String? displayName,
    String? extension,
    int? expire,
    NIMNosScene nosScene = NIMNosScenes.defaultIm,
    bool forceUpload = false})
    : super(
          path: path,
          size: size,
          md5: md5,
          url: url,
          base64: base64,
          displayName: displayName,
          extension: extension,
          expire: expire,
          nosScene: nosScene,
          forceUpload: forceUpload);