SuccessClosure typedef Null safety

SuccessClosure = bool Function(bool success, [String? reason])

Implementation

typedef SuccessClosure = bool Function(bool success, [String? reason]);