different<T> function

Different<T> different<T>(
  1. String otherField, {
  2. String? message,
})

Factory function for creating a Different validation rule.

Implementation

Different<T> different<T>(
  String otherField, {
  String? message,
}) =>
    Different<T>(otherField, message: message);