Map<String, Object> toMap() => <String, Object>{ 'items': items.map((item) => item.toMap()).toList(growable: false), };