PowerAssertionController constructor
PowerAssertionController({
- required PowerAssertionRunner runner,
- required PowerAssertionLevel level,
- PowerAssertionHold hold = PowerAssertionHold.perRun,
- void onWarn(
- String message
Implementation
PowerAssertionController({
required this.runner,
required this.level,
this.hold = PowerAssertionHold.perRun,
this.onWarn,
});