QRule constructor

const QRule(
  1. bool validator(
    1. String input
    ),
  2. String? error
)

Implementation

const QRule(this.validator, super.error);