QudsListNotifier<T> constructor

QudsListNotifier<T>({
  1. Iterable<T>? initialList,
  2. T jsonCreator(
    1. Map<String, dynamic>
    )?,
})

Create an instance of QudsListNotifier

Implementation

QudsListNotifier({Iterable<T>? initialList, this.jsonCreator}) {
  if (initialList != null) _list.addAll(initialList);
}