Map<String, dynamic> toWebMap() { return { 'items': items.map((e) => e.name).toList(), 'id': id, }; }