addToPath method

Expectation addToPath(
  1. String additionalPath
)

Append additionalPath to the current path.

Implementation

Expectation addToPath(String additionalPath) {
  return copyWith(
    path: [path, additionalPath].join('.'),
  );
}