JsPromptRequest constructor

JsPromptRequest({
  1. String? defaultValue,
  2. @Deprecated('Use isMainFrame instead') bool? iosIsMainFrame,
  3. bool? isMainFrame,
  4. String? message,
  5. WebUri? url,
})

Implementation

JsPromptRequest(
    {this.defaultValue,
    @Deprecated('Use isMainFrame instead') this.iosIsMainFrame,
    this.isMainFrame,
    this.message,
    this.url}) {
  isMainFrame = isMainFrame ?? iosIsMainFrame;
}