QueryClientModule constructor

QueryClientModule({
  1. QueryClient? client,
})

Creates a module with an owned or caller-owned client.

Implementation

QueryClientModule({QueryClient? client})
  : client = client ?? QueryClient(),
    _ownsClient = client == null;