nullifyList<T extends FrappeDocument> static method

List<T> nullifyList<T extends FrappeDocument>(
  1. List<T> docs
)

Implementation

static List<T> nullifyList<T extends FrappeDocument>(List<T> docs) =>
    List<T>.of(docs.map((T doc) => doc
      ..name = null
      ..doctype = null
      ..idx = null
      ..creation = null
      ..modified = null
      ..docStatus = null));