SerialTapCancelDetails constructor Null safety

SerialTapCancelDetails(
  1. {int count}
)

Creates details for a GestureSerialTapCancelCallback.

The count argument must be greater than zero.

Implementation

SerialTapCancelDetails({
  this.count = 1,
}) : assert(count != null),
     assert(count > 0);