Create a new assignment with the list of roleNames.
roleNames
AssignedTo({this.roleNames}) : super();