copyWith method

Status copyWith({
  1. String? type,
  2. int? missing,
  3. int? total,
  4. int? other,
  5. List<Term>? terms,
})

Implementation

Status copyWith({
  String? type,
  int? missing,
  int? total,
  int? other,
  List<Term>? terms,
}) {
  return Status(
    type: type ?? this.type,
    missing: missing ?? this.missing,
    total: total ?? this.total,
    other: other ?? this.other,
    terms: terms ?? this.terms,
  );
}