pluck method

B pluck(
  1. String key
)

Extract a single key from the map, keeping the map structure. @return The builder for chaining

Implementation

B pluck(String key) {
  // Keep backward type (MapBuilder) to allow chaining map operations; provide
  // a separate pluckValue() that returns a GenericBuilder for further numeric/string ops.
  chain.wrap((child) => tr.pluckKey(key, child));
  return self;
}