MiscState class

Annotations
  • @freezed

Constructors

MiscState({String? visitCount, String? title, String? message, String? phoneNumber, String? otpCode, String? pinCode, bool? acceptedTerms, List<FAQContent?>? faqList, EventState? eventState, String? defaultLocation, String? createPin, String? confirmPin, bool? invalidCredentials, bool? unKnownPhoneNo, bool? accountExists, bool? invalidPin, @JsonKey(ignore: true) Event<bool?>? startVisitFailed, String? patientSearchTerm, bool? hasCompletedEnteringOTP, bool? isResendingOTP})
factory
MiscState.fromJson(Map<String, dynamic> json)
factory
MiscState.initial()
factory

Properties

acceptedTerms bool?
no setterinherited
accountExists bool?
accountExists a signal to the frontend that an account with the provided credentials already exists.
no setterinherited
confirmPin String?
confirmPin used when user is creating a PIN for client side validation
no setterinherited
copyWith → $MiscStateCopyWith<MiscState>
no setterinherited
createPin String?
createPin used when user is creating a PIN.
no setterinherited
defaultLocation String?
defaultLocation the location(branch) that the user has chosen
no setterinherited
eventState EventState?
no setterinherited
faqList List<FAQContent?>?
no setterinherited
hasCompletedEnteringOTP bool?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
invalidCredentials bool?
invalidCredentials indicates the provided credentials are invalid.
no setterinherited
invalidPin bool?
invalidPin used when running pin verification procedure.
no setterinherited
isResendingOTP bool?
no setterinherited
message String?
no setterinherited
otpCode String?
no setterinherited
patientSearchTerm String?
no setterinherited
phoneNumber String?
no setterinherited
pinCode String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startVisitFailed → Event<bool?>?
notify user when the start visit action process fails
no setterinherited
title String?
no setterinherited
unKnownPhoneNo bool?
unKnownPhoneNo indicates that the provided phone number is not known by the backend.
no setterinherited
visitCount String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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