Map<String, dynamic> toJSON() => {'groupId': groupId, 'role': role, 'status': status, 'searchTerm': name};