dispose method Null safety

void dispose()

Implementation

void dispose() {
  MessageCallBackManager.getInstance.removeMessage(this);
}