name property

  1. @override
String name
override

Name of the rule. You can use this atribute to show the name of the rule to the user, for example.

Implementation

@override
String get name =>
    _customText?.replaceAll('{1}', _numberOfCharacters.toString()) ??
    'Min of $_numberOfCharacters characters';