ListChangeNotification<E>.insert constructor

ListChangeNotification<E>.insert(
  1. E? element,
  2. int? pos, {
  3. DateTime? time,
})

Implementation

ListChangeNotification.insert(this.element, this.pos, {DateTime? time})
    : op = ListChangeOp.add,
      time = time ?? DateTime.now();