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;
}