factory IntentBatch({ $core.Iterable<Intent>? intents, }) { final _result = create(); if (intents != null) { _result.intents.addAll(intents); } return _result; }