Files
eatvio_app/lib/presentation/registration/allergies_screen/models/allergies_model.dart

21 lines
677 B
Dart

// ignore_for_file: must_be_immutable
import 'package:equatable/equatable.dart';
import 'package:eatvio_app/data/models/userRegistrationModel/user_registration_model.dart';
/// This class defines the variables used in the [allergies_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class AllergiesModel extends Equatable {
UserRegistrationSheet userRegistrationSheet;
AllergiesModel({required this.userRegistrationSheet});
AllergiesModel copyWith() {
return AllergiesModel(
userRegistrationSheet: userRegistrationSheet,
);
}
@override
List<Object?> get props => [userRegistrationSheet];
}