Runtime constructor Null safety

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

Implementation

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