Map<String, dynamic> toMap() { return {"total": total, "users": users.map((p) => p.toMap()).toList()}; }