EventHandler constructor
EventHandler({
- String? targetPage,
- String? targetFlow,
- String? event,
- Fulfillment? triggerFulfillment,
- String? name,
Implementation
factory EventHandler({
$core.String? targetPage,
$core.String? targetFlow,
$core.String? event,
$18.Fulfillment? triggerFulfillment,
$core.String? name,
}) {
final _result = create();
if (targetPage != null) {
_result.targetPage = targetPage;
}
if (targetFlow != null) {
_result.targetFlow = targetFlow;
}
if (event != null) {
_result.event = event;
}
if (triggerFulfillment != null) {
_result.triggerFulfillment = triggerFulfillment;
}
if (name != null) {
_result.name = name;
}
return _result;
}