prune method

void prune(
  1. Set<String> fields
)

Implementation

void prune(Set<String> fields) {
  fields.forEach((f) {
    final v = this[f];
    if (v == null || v == "") {
      wrapped.remove(f);
    }
  });
}