IntentService constructor

IntentService({
  1. List<Intent>? only,
  2. bool? all,
})

Implementation

IntentService({ List<Intent>? only, bool? all }) {
  if (all == true) {
    list = [Intent.all];
    return;
  }

  if (only != null) {
    list.addAll(only);
  }
}