NotificationList<E>.from constructor

NotificationList<E>.from(
  1. Iterable elements,
  2. {bool growable = true}
)

Implementation

factory NotificationList.from(Iterable elements, {bool growable = true}) {
  var returnList = NotificationList<E>();

  returnList._l = List.from(elements, growable: growable);
  return returnList;
}