OpenFile constructor Null safety

OpenFile(
  1. {required int id,
  2. required String name,
  3. required int readBytes,
  4. required int writeBytes,
  5. required int readCount,
  6. required int writeCount,
  7. required DateTime lastReadTime,
  8. required DateTime lastWriteTime}
)

Implementation

OpenFile({
  required this.id,
  required this.name,
  required this.readBytes,
  required this.writeBytes,
  required this.readCount,
  required this.writeCount,
  required this.lastReadTime,
  required this.lastWriteTime,
});