RootState constructor
const
RootState({
- bool isUserLoggedIn = false,
- MerchantType merchantType = MerchantType.shopify,
- SingleUseData? error,
- bool isLoading = false,
- bool notifications = true,
- bool otpSent = false,
- bool isNewUser = false,
- bool emailOtpSent = false,
- bool isSuccess = false,
- List<
MultipleEmail> multipleEmails = const [], - String? gender,
- RootScreenStep currentStep = RootScreenStep.phoneInput,
- bool isDevBuild = false,
- String reqId = '',
- String? shopifyCustomerId,
- String? lastSubmittedPhone,
- String? lastSubmittedEmail,
Implementation
const RootState({
this.isUserLoggedIn = false,
this.merchantType = MerchantType.shopify,
this.error,
this.isLoading = false,
this.notifications = true,
this.otpSent = false,
this.isNewUser = false,
this.emailOtpSent = false,
this.isSuccess = false,
this.multipleEmails = const [],
this.gender,
this.currentStep = RootScreenStep.phoneInput,
this.isDevBuild = false,
this.reqId = '',
this.shopifyCustomerId,
this.lastSubmittedPhone,
this.lastSubmittedEmail,
});