onReceiveData method Null safety

void onReceiveData(
  1. dynamic evt
)

Implementation

void onReceiveData(dynamic evt) {
  _lastActiveAt = DateTime.now().millisecondsSinceEpoch;
  _stopWatchdog();
  _functionData(evt);
}