onConnect method

void onConnect(
  1. StompFrame frame
)

Implementation

void onConnect(StompFrame frame) {
  debugPrint('connected: ${frame}');
  // Timer.periodic(const Duration(seconds: 10), (_) {
  // });
}