setError method
Implementation
void setError(String msg) {
_errorListener?.call({'message': msg});
publishingState = PublishingState.RequestStopPublish;
}
void setError(String msg) {
_errorListener?.call({'message': msg});
publishingState = PublishingState.RequestStopPublish;
}