NIMFileAttachment constructor Null safety

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

Implementation

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