Page constructor
Page({
- String? name,
- String? displayName,
- Form? form,
- Fulfillment? entryFulfillment,
- Iterable<
TransitionRoute> ? transitionRoutes, - Iterable<
EventHandler> ? eventHandlers, - Iterable<
String> ? transitionRouteGroups,
Implementation
factory Page({
$core.String? name,
$core.String? displayName,
Form? form,
$18.Fulfillment? entryFulfillment,
$core.Iterable<TransitionRoute>? transitionRoutes,
$core.Iterable<EventHandler>? eventHandlers,
$core.Iterable<$core.String>? transitionRouteGroups,
}) {
final _result = create();
if (name != null) {
_result.name = name;
}
if (displayName != null) {
_result.displayName = displayName;
}
if (form != null) {
_result.form = form;
}
if (entryFulfillment != null) {
_result.entryFulfillment = entryFulfillment;
}
if (transitionRoutes != null) {
_result.transitionRoutes.addAll(transitionRoutes);
}
if (eventHandlers != null) {
_result.eventHandlers.addAll(eventHandlers);
}
if (transitionRouteGroups != null) {
_result.transitionRouteGroups.addAll(transitionRouteGroups);
}
return _result;
}