begin method

void begin(
  1. bool beginFunc(
    1. Arbiter arbiter,
    2. Space space
    )
)

Implementation

void begin(bool Function(Arbiter arbiter, Space space) beginFunc) {
  _c_begin_callbacks[cId] = beginFunc;
  _collisionHandler.ref.beginFunc = Pointer.fromFunction(beginCallback, 0);
}