sendMessage method Null safety
Send a string message to the Cast Receiver using the input namespace
Implementation
void sendMessage(String namespace, String message) {
final castMessage = CastMessage();
castMessage.namespace = namespace;
castMessage.message = message;
_hostApi.sendMessage(castMessage);
}