Player constructor Null safety

Player(
  1. dynamic elt_id,
  2. PlayerOptions options
)

Initializes a new instance of the Player class. Initializes a new instance of the Player class.

Implementation

/*external factory Player(HTMLElement elt, PlayerOptions options);*/
/// Initializes a new instance of the Player class.
/*external factory Player(String id, PlayerOptions options);*/
external factory Player(
    dynamic /*HTMLElement|String*/ elt_id, PlayerOptions options);