sendMessage method
override
Sends the given message
to the cast receiver.
On Android and iOS an optional messageNamespace
can be provided on which
the message should be sent. Should there be a messageNamespace
provided
on Web, it will be ignored.
Implementation
@override
Future<void> sendMessage({
required String message,
String? messageNamespace,
}) =>
CastManagerPlatformInterface.instance.sendMessage(
message: message,
messageNamespace: messageNamespace,
);