serialize method Null safety

  1. @override
I serialize()
override

Implementation

@override
I serialize() {
  return items.map((e) => e.serialize()).toList() as I;
}