SanityClient constructor
SanityClient({})
Implementation
SanityClient({
required this.projectId,
required this.dataset,
this.token,
this.useCdn = true,
http.BaseClient? client,
}) {
_client = client ?? HttpClient(token);
}