getItems method

List<Detail> getItems()

Implementation

List<Detail> getItems() => items ?? [];