Raylib constructor

Raylib(
  1. void dartMain(
    1. Raylib
    ), {
  2. Random? random,
  3. bool silent = false,
})

Implementation

Raylib(void Function(Raylib) dartMain, {
  super.random,
  super.silent,
}) {
  _dartMain = (() {
    _registerEmscriptenHelpers();
    _boot();
    _init();
    dartMain(this);
  }).toJS;
}