NotificationList<E>.filled constructor

NotificationList<E>.filled(
  1. int length,
  2. E fill,
  3. {bool growable = false}
)

Implementation

factory NotificationList.filled(int length, E fill, {bool growable = false}) {
  var returnList = NotificationList<E>();

  returnList._l = List<E>.filled(length, fill, growable: growable);
  return returnList;
}