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. |Returns|: Returns a Promise which resolves upon completion of the insertion.
Implementation
Future<void> insertCSS(CSSInjection injection) async {
await $js.chrome.scripting.insertCSS(injection.toJS).toDart;
}