CpuSample constructor Null safety

CpuSample(
  1. {required int? tid,
  2. required int? timestamp,
  3. required List<int>? stack,
  4. String? vmTag,
  5. String? userTag,
  6. bool? truncated,
  7. int? identityHashCode,
  8. int? classId}
)

Implementation

CpuSample({
  required this.tid,
  required this.timestamp,
  required this.stack,
  this.vmTag,
  this.userTag,
  this.truncated,
  this.identityHashCode,
  this.classId,
});