ValidateStatus typedef Null safety

ValidateStatus = bool Function(int? status)

Implementation

typedef ValidateStatus = bool Function(int? status);