removeMessageChannel method

  1. @override
Future<bool> removeMessageChannel(
  1. String namespace
)
override

Stops listening to a previously registered custom Cast namespace.

Implementation

@override
Future<bool> removeMessageChannel(String namespace) async {
  return await _channel.invokeMethod<bool>(
        'removeMessageChannel',
        <String, dynamic>{'namespace': namespace},
      ) ??
      false;
}