StartOnEvent constructor

const StartOnEvent({
  1. required bool isWait,
  2. double percent = 1,
})

Implementation

const StartOnEvent({
  required this.isWait,
  this.percent = 1,
}) : assert(!(percent > 1 || percent < 0), 'The value from is 0.0 to 1.0');