prune method

void prune(
  1. Set<String> fields
)
inherited

Implementation

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