Fulfillment constructor
Fulfillment({
- Iterable<
ResponseMessage> ? messages, - String? webhook,
- String? tag,
- Iterable<
Fulfillment_SetParameterAction> ? setParameterActions, - Iterable<
Fulfillment_ConditionalCases> ? conditionalCases,
Implementation
factory Fulfillment({
$core.Iterable<$17.ResponseMessage>? messages,
$core.String? webhook,
$core.String? tag,
$core.Iterable<Fulfillment_SetParameterAction>? setParameterActions,
$core.Iterable<Fulfillment_ConditionalCases>? conditionalCases,
}) {
final _result = create();
if (messages != null) {
_result.messages.addAll(messages);
}
if (webhook != null) {
_result.webhook = webhook;
}
if (tag != null) {
_result.tag = tag;
}
if (setParameterActions != null) {
_result.setParameterActions.addAll(setParameterActions);
}
if (conditionalCases != null) {
_result.conditionalCases.addAll(conditionalCases);
}
return _result;
}