Map<String, dynamic> toJson() { return { 'items': items.map((e) => e.toJson()).toList(), 'nextCursor': nextCursor, 'hasMore': hasMore, }; }