muteThisAd method
Mutes This Ad programmatically.
Use null
to Mute This Ad with default reason.
reason
, if non-null, mustn't be negative, otherwise an
AssertionError is thrown.
Fore more info, read the documentation
Implementation
Future<void> muteThisAd([int? reason]) {
ensureAdNotDisposed();
if (reason != null)
assert(!reason.isNegative, 'You must specify a valid reason');
return channel.invokeMethod('muteAd', {'reason': reason});
}