child method

Key child(
  1. Key child
)

Creates a child key under this key.

Implementation

Key child(Key child) {
  if (_string == '/') return child;
  return Key('$_string${child._string}');
}