branchMiddlewareCondition<T> function
void
branchMiddlewareCondition<T>(
- dynamic condition
Possible types for branch condition
Implementation
void branchMiddlewareCondition<T>(condition) {
assert(
condition is BranchMiddlewareConditionFunction<T> || condition is bool,
'The condition parameter must be one of the types: Function or bool',
);
}