setCssInjections method
Registers extra CSS assets to inject into every EPUB HTML resource,
in addition to the built-in flutterReadiumTools.css.
Call before opening a publication so the injections are in effect when the reader view is created.
Implementation
@override
Future<void> setCssInjections(List<InjectionAsset> injections) async {
await methodChannel.invokeMethod<void>(
'setCssInjections',
injections.map((e) => e.toJson()).toList(),
);
}