SnapApp constructor Null safety

const SnapApp(
  1. String? snap,
  2. String name,
  3. {String? desktopFile,
  4. String? daemon,
  5. bool enabled = true,
  6. bool active = true,
  7. String? commonId}
)

Implementation

const SnapApp(this.snap, this.name,
    {this.desktopFile,
    this.daemon,
    this.enabled = true,
    this.active = true,
    this.commonId});