copyWith method

SelfCheck copyWith(
  1. {bool? check,
  2. SelfCheckType? type,
  3. int? number}
)

Implementation

SelfCheck copyWith({bool? check, SelfCheckType? type, int? number}) {
  return SelfCheck(
    type: type ?? this.type,
    number: number ?? this.number,
    check: check ?? this.check,
  );
}