CreateAccount constructor

CreateAccount({
  1. required String name,
  2. String? phoneNumber,
  3. String? email,
  4. String? password,
  5. bool? agreedToTerms,
  6. required DateTime? dateOfBirth,
  7. required String verificationCode,
})

Returns a new CreateAccount instance.

Implementation

CreateAccount({
  required this.name,
  this.phoneNumber,
  this.email,
  this.password,
  this.agreedToTerms,
  required this.dateOfBirth,
  required this.verificationCode,
});