Remove unused copyWith method from Status class and simplify status assignment in ScheduleBloc

This commit is contained in:
mohammad
2025-06-30 15:22:02 +03:00
parent fd239a3907
commit 5486f0832d
2 changed files with 0 additions and 19 deletions

View File

@ -57,16 +57,6 @@ class Status {
};
}
Status copyWith({
String? code,
dynamic value,
}) {
return Status(
code: code ?? this.code,
value: value ?? this.value,
);
}
factory Status.fromJson(String source) => Status.fromMap(json.decode(source));
String toJson() => json.encode(toMap());