StartVisitViewModel class
viewModel for StartVisitPage
Constructors
- StartVisitViewModel({required bool showError, required void startVisit(BuildContext context, String otpCode), required String phoneNumber, required bool hasCompletedEnteringOtp, required bool isResendingOtp, required void resendOtp(BuildContext context, int step), required StartVisitType startVisitType})
Properties
-
equals
→ List<
Object?> -
The List of properties which will be used to determine whether two BaseModels are equal.
finalinherited
- hasCompletedEnteringOtp → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isResendingOtp → bool
-
final
- phoneNumber → String
-
final
- resendOtp → void Function(BuildContext context, int step)
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showError → bool
-
final
- startVisit → void Function(BuildContext context, String otpCode)
-
final
- startVisitType → StartVisitType
-
final
Methods
-
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