toWebMap method

Map<String, dynamic> toWebMap()

Implementation

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