checkPassword method

bool checkPassword(
  1. String? passwordOrHash
)

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);
}