PlayerVars constructor Null safety

PlayerVars(
  1. {num autohide,
  2. num autoplay,
  3. num cc_load_policy,
  4. String color,
  5. num controls,
  6. num disablekb,
  7. num enablejsapi,
  8. num end,
  9. num fs,
  10. String hl,
  11. num iv_load_policy,
  12. String list,
  13. String listType,
  14. num loop,
  15. num modestbranding,
  16. String origin,
  17. String playlist,
  18. num playsinline,
  19. num rel,
  20. num showinfo,
  21. num start}
)

Implementation

external factory PlayerVars(
    {num /*enum AutoHide*/ autohide,
    num /*enum AutoPlay*/ autoplay,
    num /*enum ClosedCaptionsLoadPolicy*/ cc_load_policy,
    String /*'red'|'white'*/ color,
    num /*enum Controls*/ controls,
    num /*enum KeyboardControls*/ disablekb,
    num /*enum JsApi*/ enablejsapi,
    num end,
    num /*enum FullscreenButton*/ fs,
    String hl,
    num /*enum IvLoadPolicy*/ iv_load_policy,
    String list,
    String /*'player'|'search'|'user_uploads'*/ listType,
    num /*enum Loop*/ loop,
    num /*enum ModestBranding*/ modestbranding,
    String origin,
    String playlist,
    num /*enum PlaysInline*/ playsinline,
    num /*enum RelatedVideos*/ rel,
    num /*enum ShowInfo*/ showinfo,
    num start});