DecorationColorInMemoryRepository constructor

DecorationColorInMemoryRepository(
  1. DecorationColorListChanged trigger,
  2. List<DecorationColorModel> items
)

Implementation

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