translate static method
Implementation
static String translate(
TextValidationRule rule,
) =>
_map[rule.runtimeType.toString()] == null
? rule.toString()
: _map[rule.runtimeType.toString()]!(rule);
static String translate(
TextValidationRule rule,
) =>
_map[rule.runtimeType.toString()] == null
? rule.toString()
: _map[rule.runtimeType.toString()]!(rule);