Validation constructor

const Validation({
  1. required String expression,
  2. String? message,
  3. String? messageExpression,
  4. String? reason,
})

Default constructor.

Implementation

const Validation({
  required this.expression,
  this.message,
  this.messageExpression,
  this.reason,
});