SanityRequest class

Constructors

SanityRequest.new({required UrlBuilder urlBuilder, required String query, Map<String, String>? params, LiveConfig? live})

Properties

getUri Uri
no setter
hashCode int
The hash code for this object.
no setterinherited
live LiveConfig?
final
params Map<String, String>?
final
postUri Uri
no setter
query String
final
requiresPost bool
Queries longer than 11kB can’t be submitted using the GET method, so they must be POSTed. See https://www.sanity.io/docs/http-query
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
urlBuilder UrlBuilder
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toPostBody() Map<String, dynamic>
Strips the $-prefixes when submitting as json params via POST
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited