copyWith method
- ResourceKindFlag? kinds,
- UrlMatchFlag? flags,
- String? url,
A copy of this value with the given members replaced.
Implementation
ResourceRoute copyWith({
ResourceKindFlag? kinds,
UrlMatchFlag? flags,
String? url,
}) => ResourceRoute(
kinds: kinds ?? this.kinds,
flags: flags ?? this.flags,
url: url ?? this.url,
);