ShadertoySiteOptions class
Options for the Shadertoy Site API client
Stores the options used to build a ShadertoySiteClient
- Inheritance
-
- Object
- ShadertoyHttpOptions
- ShadertoySiteOptions
Constructors
- ShadertoySiteOptions({String? user, String? password, String? cookieName, int? userShaderCount, int? playlistShaderCount, int? pageResultsShaderCount, int? pageUserShaderCount, int? pagePlaylistShaderCount, String? baseUrl, int? poolMaxAlocatedResources, int? poolTimeout, int? retryMaxAttempts, int? shaderCount, ErrorMode? errorHandling})
- Builds a ShadertoySiteOptions
Properties
- baseUrl → String
-
The base url of the shadertoy website
finalinherited
-
The Shadertoy cookie name
final
- errorHandling → ErrorMode
-
The selected error handling mode
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- pagePlaylistShaderCount → int
-
The number of shaders presented in a Shadertoy playlist
page, for example the playlist of the week as seen in
here
final
- pageResultsShaderCount → int
-
The number of shaders presented in the Shadertoy
results page
final
- pageUserShaderCount → int
-
The number of shaders presented in the Shadertoy
user, for example iq user page as seen in
here
final
- password → String?
-
The Shadertoy user password
final
- playlistShaderCount → int
-
The number of shaders requested for a playlist paged call
final
- poolMaxAllocatedResources → int
-
The maximum number of resources that may be allocated at once in the pool
finalinherited
- poolTimeout → int
-
Constrains the maximum time a call to the Shadertoy API can last. If this
value is exceed an exception is thrown for the offending request and for all
the others in the queue
finalinherited
- retryMaxAttempts → int
-
The maximum number of atempts before giving up.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shaderCount → int
-
The number of shaders fetched for paged call
finalinherited
- supportsCookies → bool
-
If the http client supports cookies
finalinherited
- user → String?
-
The Shadertoy user login
final
- userShaderCount → int
-
The number of shaders requested for a user paged call
final
Methods
-
copyWith(
{String? user, String? password, String? cookieName, int? userShaderCount, int? playlistShaderCount, int? pageResultsShaderCount, int? pageUserShaderCount, int? pagePlaylistShaderCount, String? baseUrl, int? poolMaxAllocatedResources, int? poolTimeout, int? retryMaxAttempts, ErrorMode? errorHandling}) → ShadertoySiteOptions - Builds a copy of a ShadertoySiteOptions
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultCookieName → const String
- The default Shadertoy cookie name
- defaultPagePlaylistShaderCount → const int
- The default number of shaders presented in a Shadertoy playlist page, for example the playlist of the week as seen in here
- defaultPageResultsShaderCount → const int
- The default number of shaders presented in the Shadertoy results page
- defaultPageUserShaderCount → const int
- The default number of shaders presented in the Shadertoy user, for example iq user page as seen in here