StreamPublishStateCallback typedef Null safety
Implementation
typedef StreamPublishStateCallback = void Function(
String channel,
StreamPublishState oldState,
StreamPublishState newState,
int elapseSinceLastState);
typedef StreamPublishStateCallback = void Function(
String channel,
StreamPublishState oldState,
StreamPublishState newState,
int elapseSinceLastState);