Added logic for body_circumferences and city_of_living

This commit is contained in:
2023-12-25 17:23:18 +03:00
parent d908f5f28c
commit aa1ab31a91
11 changed files with 147 additions and 91 deletions

View File

@@ -1,16 +1,22 @@
// 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 [date_of_birth_screen],
/// and is typically used to hold data that is passed between different parts of the application.
class DateOfBirthModel extends Equatable {
DateOfBirthModel() {}
UserRegistrationSheet userRegistrationSheet;
DateOfBirthModel({required this.userRegistrationSheet}) {}
DateOfBirthModel copyWith() {
return DateOfBirthModel();
return DateOfBirthModel(
userRegistrationSheet:
userRegistrationSheet ?? this.userRegistrationSheet,
);
}
@override
List<Object?> get props => [];
List<Object?> get props => [userRegistrationSheet];
}