Different<T> constructor
Creates a new instance of the Different validation rule.
otherField
: The name of the other field to compare against (required).message
: A custom validation message (optional) to be displayed when the validation fails.
Implementation
Different(this.otherField, {String? message}) : super(message);