How to make a List Constructor?

I’m looking to make a constructor of a character which contains a list variable. How would I add this?

class Character
{
	var name : String;
	var hp : int;
	var attacks : List.<Attacks> = new List.<Attacks>();
	
	function Contructor (nameNew : String, hpNew : int, attacksNew : Attacks)
	{
		name 	= nameNew;
		hp 		= hpNew;
		attacks = attacksNew;
	}
	
}

class Attacks
{
	var name : String;
	var power : int;
}

function Start ()
{
	var player : Character;
	
	player.Constructor("ben", 10, ????); 

// I want to add two entrys to attacks List with name "fireball" and power 10.

}

attacks.Add(new Attacks(“Fireball”, 10));
attacks.Add(new Attacks(“Fireball”, 10));
player.Constructor(“ben”, 10, attacks);

But you also need to add a ctor to your Attack class

public class Attacks
{
    public function Attack(name :String, power:int){
       this.name = name;
       this.power = power;
    }
    var name : String;
    var power : int;
}

edit:

player.Constructor("ben",10,new List<Attacks>(){
            new Attacks("fireball",10),new Attacks("fireball",10)};

this is one line but it won’t run faster though since the compiler still need to do each action oneby one.