toList method Null safety

List toList()

Implementation

List toList() => [item1, item2];