TcpRoute_RouteRule constructor
TcpRoute_RouteRule({
- Iterable<
TcpRoute_RouteMatch> ? matches, - TcpRoute_RouteAction? action,
Implementation
factory TcpRoute_RouteRule({
$core.Iterable<TcpRoute_RouteMatch>? matches,
TcpRoute_RouteAction? action,
}) {
final $result = create();
if (matches != null) {
$result.matches.addAll(matches);
}
if (action != null) {
$result.action = action;
}
return $result;
}