CompareWith<T extends Comparable<T> >.equal constructor
Creates a validator that checks for equality with another field.
Implementation
const CompareWith.equal(this.key, {this.message}) : type = CompareType.equal;