exceptionTest static method

dynamic exceptionTest(
  1. String password
)

Implementation

static exceptionTest(String password) {
  String keyHash = TBLSecurity.getSHA256(password);
  if (keyHash.toLowerCase() != TBLSecurity.FEATURE_PASSWORD.toLowerCase()) {
    print('Taboola testGUEH wrong password $password');
    return;
  }
  throw Exception("test exception");
}