checkPassword method
Checks if the parameter passwordOrHash
matches this APICredential password.
Implementation
bool checkPassword(String? passwordOrHash) {
if (passwordOrHash == null) return false;
return password != null && password!.checkPassword(passwordOrHash);
}