Rule<T> constructor

Rule<T>(
  1. Reason reason,
  2. bool isValid(
    1. T? object
    )
)

Implementation

Rule(
  this.reason,
  this.isValid,
);