TransportCloseCallback TransportCloseCallback = void Function() Event callback type for transport close. Implementation typedef TransportCloseCallback = void Function();