ScreenInfo constructor Null safety

ScreenInfo(
  1. {required String screenToken,
  2. required int batteryPercentage,
  3. required int lowBatteryThreshold,
  4. required int lowBatteryNotificationDelay,
  5. required int batteryReportingDelay,
  6. required bool isOnline}
)

Constructs a ScreenInfo instance with a screen's extra information.

Implementation

ScreenInfo({
  required this.screenToken,
  required this.batteryPercentage,
  required this.lowBatteryThreshold,
  required this.lowBatteryNotificationDelay,
  required this.batteryReportingDelay,
  required this.isOnline,
});