InputValidators class

Constructors

InputValidators()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

isNumeric(String value) bool
check if the value contains only numbers
validateBloodOxygen(String? value) String?
Validate a temperature reading
validateDiastoleBloodPressure(String value) String?
Validates the systolic blood pressure
validateDrawerSearchInput({required String value, required String labelText, required bool isItemSelected}) String?
Validates the test of a drawer search input
validateEmailAddress(String? value) String?
Validates the systolic blood pressure
validateGenericInput(String? value, String valueString, {bool checkNull = true, bool checkNumeric = true, bool checkNegative = true}) String?
Validates a general input
validateHeight(String? value) String?
Validate a height vital
validatePin({required String? value, String? initiallyEnteredPin}) String?
Validates a user PIN
validatePulse(String? value) String?
Validate a pulse rate
validateRespiratoryRate(String? value) String?
Validate a temperature reading
validateSystoleBloodPressure(String? value) String?
Validates the systolic blood pressure
validateTemperature(String? value) String?
Validate a temperature reading
validateWeight(String? value) String?
Validate a weight vital