24 lines
497 B
Dart
24 lines
497 B
Dart
class UserCheckFlags {
|
|
final bool hasFine;
|
|
final bool hasUnpaidOrder;
|
|
final bool hasCard;
|
|
|
|
const UserCheckFlags({
|
|
required this.hasFine,
|
|
required this.hasUnpaidOrder,
|
|
required this.hasCard,
|
|
});
|
|
|
|
UserCheckFlags copyWith({
|
|
bool? hasFine,
|
|
bool? hasUnpaidOrder,
|
|
bool? hasCard,
|
|
}) {
|
|
return UserCheckFlags(
|
|
hasFine: hasFine ?? this.hasFine,
|
|
hasUnpaidOrder: hasUnpaidOrder ?? this.hasUnpaidOrder,
|
|
hasCard: hasCard ?? this.hasCard,
|
|
);
|
|
}
|
|
}
|