Flow constructor
Flow({
- FlowType? type,
- ObjectDetails? details,
- FlowState? state,
- Iterable<
TriggerAction> ? triggerActions,
Implementation
factory Flow({
FlowType? type,
$8.ObjectDetails? details,
FlowState? state,
$core.Iterable<TriggerAction>? triggerActions,
}) {
final $result = create();
if (type != null) {
$result.type = type;
}
if (details != null) {
$result.details = details;
}
if (state != null) {
$result.state = state;
}
if (triggerActions != null) {
$result.triggerActions.addAll(triggerActions);
}
return $result;
}