different<T> static method
Creates a Different validation rule.
This rule checks if a value is different from another field's value. It can include a custom validation message.
Implementation
static ValidationRule<T> different<T>(String otherField, {String? message}) =>
Different<T>(otherField, message: message);