insertCSS method
Inserts a CSS stylesheet into a target context. If multiple frames are specified, unsuccessful injections are ignored. |injection|: The details of the styles to insert. |callback|: Invoked upon completion of the insertion.
Implementation
Future<void> insertCSS(CSSInjection injection) async {
await promiseToFuture<void>($js.chrome.scripting.insertCSS(injection.toJS));
}