PowerAssertionOptions constructor

const PowerAssertionOptions({
  1. required String reason,
  2. bool idle = false,
  3. bool display = false,
  4. bool system = false,
  5. bool user = false,
})

Implementation

const PowerAssertionOptions({
  required this.reason,
  this.idle = false,
  this.display = false,
  this.system = false,
  this.user = false,
});