MatchRule constructor

const MatchRule(
  1. String? getValue(),
  2. String message
)

Creates a new MatchRule with the given getValue and message.

Implementation

const MatchRule(this.getValue, this.message);