OnSuccessHandler typedef Null safety

OnSuccessHandler = Future Function(String postId)

Implementation

typedef Future<dynamic> OnSuccessHandler(String postId);