Validator constructor Null safety

const Validator(
  1. {List<String? Function(String?)> callbacks = const []}
)

Implementation

const Validator({
  this.callbacks = const [],
});