copyWith method

AuthStepTemplates copyWith({
  1. required BuildContext context,
  2. required WidgetRef ref,
})

Implementation

AuthStepTemplates copyWith({
  required BuildContext context,
  required WidgetRef ref
}) => AuthStepTemplates(
  email: email.copyWith(context: context, ref: ref) as EmailStepTemplate,
  phone: phone.copyWith(context: context, ref: ref) as PhoneStepTemplate,
  otp: otp.copyWith(context: context, ref: ref) as OtpStepTemplate,
  signup: signup.copyWith(context: context, ref: ref) as SignupStepTemplate,
  forgotPassword: forgotPassword.copyWith(context: context, ref: ref) as ForgotPasswordStepTemplate,
  resetPassword: resetPassword.copyWith(context: context, ref: ref) as ResetPasswordStepTemplate,
  verifyResetPassword: verifyResetPassword.copyWith(context: context, ref: ref) as VerifyResetPasswordStepTemplate,
);