on<T extends TextValidationRule> static method

void on<T extends TextValidationRule>(
  1. String func(
    1. TextValidationRule
    )
)

Implementation

static void on<T extends TextValidationRule>(
  String Function(TextValidationRule) func,
) =>
    _map[T.toString()] = func;