sendMessage method
override
Sends the given message
to the cast receiver.
Implementation
@override
Future<void> sendMessage({
required String message,
String? messageNamespace,
}) =>
_mainChannel.invokeMethod<void>(
Methods.castManagerSendMessage,
CustomCastMessage(
message: message,
messageNamespace: messageNamespace,
).toJson(),
);