removeCSS method
Removes a CSS stylesheet that was previously inserted by this extension
from a target context.
|injection|: The details of the styles to remove. Note that the
css, files, and origin properties
must exactly match the stylesheet inserted through insertCSS.
Attempting to remove a non-existent stylesheet is a no-op.
|Returns|: Returns a Promise which resolves upon the completion of the
removal.
Implementation
Future<void> removeCSS(CSSInjection injection) async {
await $js.chrome.scripting.removeCSS(injection.toJS).toDart;
}