ShadertoySqliteOptions class

Options for the Shadertoy Sqlite store

Constructors

ShadertoySqliteOptions({String? path, bool? foreignKeysEnabled, bool? logStatementsEnabled, WebBackend? webBackend, String? sqliteWasmPath, int? shaderCount, int? userShaderCount, int? playlistShaderCount, ErrorMode? errorHandling})
Builds a ShadertoySqliteOptions

Properties

errorHandling → ErrorMode
The selected error handling mode
finalinherited
foreignKeysEnabled bool
If the foreign keys are enabled
final
hashCode int
The hash code for this object.
no setterinherited
logStatementsEnabled bool
If the generated sql statements should be printed before executing
final
name String
The name of the database
no setter
path String
The path to the database
final
playlistShaderCount int
The number of shaders requested for a playlist paged call
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shaderCount int
The number of shaders requested for paged call
final
sqliteWasmPath String
The sqlite wasm path
final
userShaderCount int
The number of shaders requested for a user paged call
final
webBackend WebBackend
The web backend
final

Methods

copyWith({String? path, bool? foreignKeysEnabled, bool? logStatementsEnabled, WebBackend? webBackend, String? sqliteWasmPath, int? shaderCount, int? userShaderCount, int? playlistShaderCount, ErrorMode? errorHandling}) ShadertoySqliteOptions
Builds a copy of a ShadertoySqliteOptions
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

defaultForeignKeysEnabled → const bool
The default value for the foreign keys flag
defaultLogStatementsEnabled → const bool
The default value for the log statements flag
defaultPath → const String
The default value for the path
defaultPlaylistShaderCount → const int
The default number of shaders fetched for a playlist paged call.
defaultShaderCount → const int
The default number of shaders fetched for a paged call.
defaultSqliteWasmPath → const String
The default location of the sqlite wasm for the wasm backend
defaultUserShaderCount → const int
The default number of shaders fetched for a user paged call.
defaultWebBackend → const WebBackend
The default value for the web backend