Contact.end constructor

Contact.end({
  1. required Shape shapeA,
  2. required Shape shapeB,
})

Creates the contact for an end-touch event.

The shapes may already have been destroyed, check Shape.isValid before using them.

Implementation

Contact.end({required this.shapeA, required this.shapeB})
  : normal = null,
    points = null,
    isSensorEvent = false;