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