addItemValues method

void addItemValues({
  1. required String title,
  2. required String value,
})

Add items to items list from valuable values

Implementation

void addItemValues({required String title, required String value}) {
  items.add(Valuable(title: title, value: value));
}