JavascriptMessage constructor Null safety

const JavascriptMessage(
  1. String message
)

Constructs a JavaScript message object.

The message parameter must not be null.

Implementation

const JavascriptMessage(this.message) : assert(message != null);