Runtime constructor Null safety

const Runtime(
  1. String name,
  2. String identifier,
  3. {bool isDartVM,
  4. bool isBrowser,
  5. bool isJS,
  6. bool isBlink,
  7. bool isHeadless}
)

Implementation

const Runtime(this.name, this.identifier,
    {this.isDartVM = false,
    this.isBrowser = false,
    this.isJS = false,
    this.isBlink = false,
    this.isHeadless = false})
    : parent = null;