onAbort method

void onAbort(
  1. Function fn
)

Implementation

void onAbort(Function fn) => _onAbort = fn;