OnClose typedef

OnClose = void Function({Exception? error})

Implementation

typedef OnClose = void Function({Exception? error});