NIMCollectInfo constructor Null safety

NIMCollectInfo(
  1. {required int id,
  2. required int type,
  3. required String data,
  4. String? ext,
  5. String? uniqueId,
  6. double createTime = 0.0,
  7. double updateTime = 0.0}
)

Implementation

NIMCollectInfo({
  required this.id,
  required this.type,
  required this.data,
  this.ext,
  this.uniqueId,
  this.createTime = 0.0,
  this.updateTime = 0.0,
});