JavaScriptMessage constructor

const JavaScriptMessage({
  1. required String message,
  2. String? sourceUrl,
  3. String? sourceOrigin,
  4. bool? isMainFrame,
})

Creates a new JavaScript message object.

Implementation

const JavaScriptMessage({
  required this.message,
  this.sourceUrl,
  this.sourceOrigin,
  this.isMainFrame,
});