DisplayMode constructor Null safety

const DisplayMode(
  1. {required int id,
  2. required int width,
  3. required int height,
  4. required double refreshRate}
)

Implementation

const DisplayMode({
  required this.id,
  required this.width,
  required this.height,
  required this.refreshRate,
});