UserScript constructor
UserScript({
- String? groupName,
- required String source,
- required UserScriptInjectionTime injectionTime,
- bool iosForMainFrameOnly = true,
- ContentWorld? contentWorld,
Implementation
UserScript(
{this.groupName,
required this.source,
required this.injectionTime,
this.iosForMainFrameOnly = true,
ContentWorld? contentWorld}) {
this.contentWorld = contentWorld ?? ContentWorld.PAGE;
}