beginContact method

  1. @override
void beginContact(
  1. Contact contact
)
override

Called when two fixtures begin to touch.

Implementation

@override
void beginContact(Contact contact) {
  _callback(
    contact,
    (contactCallback, other) => contactCallback.beginContact(other, contact),
  );
}