CallingPathSegment constructor
CallingPathSegment({
- required PathSegment segment,
- required String value,
Don't use
Implementation
factory CallingPathSegment(
{required PathSegment segment, required String value}) {
if (segment is NamedSegment) {
return NamedCallingSegment(segment: segment);
} else {
return ArgumentCallingSegment(
value: value, segment: segment as ArgumentSegment);
}
}