GetNewParentPathResult class abstract

The value of the new parentPath in VRouteElement.getPathFromPop and VRouteElement.getPathFromName If this path is invalid:

  • return ValidGetNewParentPathResult(value: parentPathParameter) If this path starts with '/':
  • Either the path parameters from pathParameters include those of this path and we return the corresponding path
  • Or we return InvalidGetNewParentPathResult(missingPathParameters: this missing path parameters) If this path does not start with '/':
  • If the parent path is invalid: _ * InvalidGetNewParentPathResult(missingPathParameters: parentPathParameterResult.missingPathParameters + this missingPathParameters)
  • If the parent path is not invalid: _ * Either the path parameters from pathParameters include those of this path and we return ValidGetNewParentPathResult(the parent path + this path) _ * Or we return InvalidGetNewParentPathResult(missingPathParameters: this missing path parameters)
Implementers

Constructors

GetNewParentPathResult()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited