new project stable version
This commit is contained in:
23
lib/domain/entities/user_check_flags.dart
Normal file
23
lib/domain/entities/user_check_flags.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
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,
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user