Match constructor

Match({
  1. required String message,
  2. required String shortMessage,
  3. required List<Replacement> replacements,
  4. required int offset,
  5. required int length,
  6. required String sentence,
  7. required Rule rule,
  8. required bool ignoreForIncompleteSentence,
  9. required int contextForSureMatch,
})

Creates a new instance of the Match class.

Implementation

Match({
  required this.message,
  required this.shortMessage,
  required this.replacements,
  required this.offset,
  required this.length,
  required this.sentence,
  required this.rule,
  required this.ignoreForIncompleteSentence,
  required this.contextForSureMatch,
});