ValidationRule typedef Null safety

ValidationRule = String? Function(dynamic value)

Implementation

typedef ValidationRule = String? Function(dynamic value);