iqama_validator 0.0.2 iqama_validator: ^0.0.2 copied to clipboard
A flutter package to validate iqama and saudi national id number format that is used in the kingdom of saudi arabia.
iqama_validator #
IqamaValidator can be used to check if a string contains a valid Saudi Arabia Iqama number or a National ID number.
Usage #
Pass the Iqama number or Saudi National ID number as a string to IqamaValidator's validate method.
bool status = IqamaValidator.validate("<iqamaNumber>");
The response is a bool. It is true if the string was a valid Iqama/Saudi national ID number.