getPathData method
Implementation
dynamic getPathData(int index){
final segmentData = req?.uri.pathSegments;
return segmentData?[index];
}
dynamic getPathData(int index){
final segmentData = req?.uri.pathSegments;
return segmentData?[index];
}