ValidateStatus typedef Null safety

bool ValidateStatus(
  1. int? status
)

Implementation

typedef ValidateStatus = bool Function(int? status);