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