RootState class

Constructors

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})
const

Properties

currentStep RootScreenStep
final
emailOtpSent bool
final
error SingleUseData?
final
gender String?
final
hashCode int
The hash code for this object.
no setterinherited
isDevBuild bool
final
isLoading bool
final
isNewUser bool
final
isSuccess bool
final
isUserLoggedIn bool
final
lastSubmittedEmail String?
final
lastSubmittedPhone String?
final
merchantType MerchantType
final
multipleEmails List<MultipleEmail>
final
notifications bool
final
otpSent bool
final
reqId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shopifyCustomerId String?
final

Methods

copyWith({bool? isUserLoggedIn, MerchantType? merchantType, SingleUseData? error, bool? isLoading, bool? notifications, bool? otpSent, bool? isNewUser, bool? emailOtpSent, bool? isSuccess, List<MultipleEmail>? multipleEmails, String? gender, RootScreenStep? currentStep, bool? isDevBuild, String? reqId, String? shopifyCustomerId, String? lastSubmittedPhone, String? lastSubmittedEmail}) RootState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited