OtpBoxViewModel class

Constructors

OtpBoxViewModel({required bool completed, required bool endingExam, required bool showErr, required String? phoneNumber, required void resendOtp(BuildContext, int), required void endVisit(BuildContext context, String otp)})

Properties

completed bool
final
endingExam bool
final
endVisit → void Function(BuildContext context, String otp)
final
equals List<Object?>
The List of properties which will be used to determine whether two BaseModels are equal.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String?
final
resendOtp → void Function(BuildContext, int)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showErr bool
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