FuncValidator<T> constructor

FuncValidator<T>({
  1. required String error,
  2. required bool isValid(
    1. T? value
    ),
})

Implementation

FuncValidator({required String error, required this.isValid}) : super(error);