up method

ContextKey up()

Implementation

ContextKey up() {
  final segments = path.split('.');
  return ContextKey(segments.take(segments.length - 1).join('.'));
}