setMuted method

  1. @override
Future<void> setMuted(
  1. int? textureId,
  2. bool muted
)
override

Sets the muted attribute of the video.

This method shouldn't affect volume value.

Implementation

@override
Future<void> setMuted(int? textureId, bool muted) {
  return _channel.invokeMethod<void>(
    'setMuted',
    <String, dynamic>{
      'textureId': textureId,
      'muted': muted,
    },
  );
}