LabelledBodyComponentInMemoryRepository constructor

LabelledBodyComponentInMemoryRepository(
  1. LabelledBodyComponentListChanged trigger,
  2. List<LabelledBodyComponentModel> items
)

Implementation

LabelledBodyComponentInMemoryRepository(this.trigger, this.items) {
  List<List<LabelledBodyComponentModel>> myList =
      <List<LabelledBodyComponentModel>>[];
  myList.add(items);
  theValues = Stream<List<LabelledBodyComponentModel>>.fromIterable(myList);
}