dispose static method

void dispose()

Dispose the fgbg subscription to avoid memory leaks.

Implementation

static void dispose() {
  _fgbgSubscription.cancel();
}