Notification constructor

Notification({
  1. int? percent,
  2. bool? repeat,
  3. String? callUrl,
})

Implementation

factory Notification({
  $core.int? percent,
  $core.bool? repeat,
  $core.String? callUrl,
}) {
  final $result = create();
  if (percent != null) {
    $result.percent = percent;
  }
  if (repeat != null) {
    $result.repeat = repeat;
  }
  if (callUrl != null) {
    $result.callUrl = callUrl;
  }
  return $result;
}