PatientSearchViewModel class

Holds data that is used by the widget PatientIdentification

Constructors

PatientSearchViewModel({required dynamic searchPatientFunction(BuildContext, String), required List<PatientEdge?>? patientEdgeList, required SearchResultWidgetEnum searchResult, required dynamic onFieldSubmit(BuildContext, String)})

Properties

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
onFieldSubmit → dynamic Function(BuildContext, String)
final
patientEdgeList List<PatientEdge?>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchPatientFunction → dynamic Function(BuildContext, String)
final
searchResult SearchResultWidgetEnum
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
phoneNumberFormValidator(String? searchParam) String?
toString() String
A string representation of this object.
inherited
validateAndSearch(BuildContext context, String searchTerm, GlobalKey<FormState> patientSearchFormKey) → void

Operators

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