onClose property Null safety

OnClose? onClose
read / write

Implementation

OnClose? onClose;