notEquals static method

Validator notEquals(
  1. String value, {
  2. String? message,
})

Ensures the value does NOT equal a hardcoded string.

Implementation

static Validator notEquals(String value, {String? message}) =>
    Validator._()..notEquals(value, message: message);