NIMVideoAttachment constructor Null safety

NIMVideoAttachment(
  1. {int? duration,
  2. int? width,
  3. int? height,
  4. String? thumbPath,
  5. String? thumbUrl,
  6. String? path,
  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

NIMVideoAttachment(
    {this.duration,
    this.width,
    this.height,
    this.thumbPath,
    this.thumbUrl,
    String? path,
    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,
          displayName: displayName,
          extension: extension,
          expire: expire,
          nosScene: nosScene,
          forceUpload: forceUpload);