SnapdChange constructor Null safety

const SnapdChange(
  1. {String id = '',
  2. String kind = '',
  3. String summary = '',
  4. String status = '',
  5. bool ready = false,
  6. String? err,
  7. List<SnapdTask> tasks = const []}
)

Implementation

const SnapdChange(
    {this.id = '',
    this.kind = '',
    this.summary = '',
    this.status = '',
    this.ready = false,
    this.err,
    this.tasks = const []});