destroy method

  1. @override
void destroy()
override

Implementation

@override
void destroy() {
  unregisterReceiver();
  super.destroy();
}