EmbeddedJsContent constructor

const EmbeddedJsContent({
  1. String? js,
  2. String? mobileJs,
  3. String? webJs,
})

Constructor

Implementation

const EmbeddedJsContent({
  this.js,
  this.mobileJs,
  this.webJs,
}) : assert(
        js != null || (js == null && mobileJs != null && webJs != null),
        'Choose whether to use globally available js (like console.log), '
        'or platform specific(functions, callbacks, etc; For this, you must fill in '
        'the coresponding function for all platforms)',
      );