connect abstract method
void
connect(})
Implementation
void connect(EventFluxConnectionType type, String url,
{required Function(EventFluxResponse?) onSuccessCallback,
Map<String, String> header = const {'Accept': 'text/event-stream'},
Function()? onConnectionClose,
bool autoReconnect = false,
Function(EventFluxException)? onError,
Map<String, dynamic>? body});