getPathFromName abstract method

GetPathFromNameResult getPathFromName(
  1. String nameToMatch, {
  2. required Map<String, String> pathParameters,
  3. required GetNewParentPathResult parentPathResult,
  4. required Map<String, String> remainingPathParameters,
})

This function takes a name and tries to find the path corresponding to the route matching this name

The deeper nested the route the better The given path parameters have to include at least every path parameters of the final path

Implementation

GetPathFromNameResult getPathFromName(
  String nameToMatch, {
  required Map<String, String> pathParameters,
  required GetNewParentPathResult parentPathResult,
  required Map<String, String> remainingPathParameters,
});