forked from eatvio/eatvio_app
23 lines
774 B
Dart
23 lines
774 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 [credentials_screen],
|
|
/// and is typically used to hold data that is passed between different parts of the application.
|
|
class CredentialsModel extends Equatable {
|
|
UserRegistrationSheet userRegistrationSheet;
|
|
|
|
CredentialsModel({required this.userRegistrationSheet});
|
|
|
|
CredentialsModel copyWith({UserRegistrationSheet? userRegistrationSheet}) {
|
|
return CredentialsModel(
|
|
userRegistrationSheet:
|
|
userRegistrationSheet ?? this.userRegistrationSheet,
|
|
);
|
|
}
|
|
|
|
@override
|
|
List<Object?> get props => [userRegistrationSheet];
|
|
}
|