Flow constructor
Flow({
- FlowType? type,
- ObjectDetails? details,
- FlowState? state,
- Iterable<
TriggerAction> ? triggerActions,
Implementation
factory Flow({
FlowType? type,
$7.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;
}