HasuraConnect constructor
HasuraConnect(})
Implementation
HasuraConnect(
this.url, {
this.reconnectionAttempt,
List<Interceptor>? interceptors,
this.headers,
http.Client Function()? httpClientFactory,
}) {
startModule(httpClientFactory);
_interceptorExecutor = InterceptorExecutor(interceptors);
_subscription = controller.stream
.where((data) => data is Map)
.map((data) => data as Map)
.where((data) => data.containsKey('id'))
.where((data) => snapmap.containsKey(data['id']))
.listen(rootStreamListener);
}