dispose method

void dispose()

Implementation

void dispose() async {
  onFrontendMessage = null;
}