ShadertoySqliteOptions class Null safety
Options for the Shadertoy Sqlite store
- Inheritance
-
- Object
- ShadertoyClientOptions
- ShadertoySqliteOptions
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.
read-onlyinherited
- logStatementsEnabled → bool
-
If the generated sql statements should be printed before executing
final
- name → String
-
The name of the database
read-only
- 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.
read-onlyinherited
- 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 non-existent 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
true
- defaultLogStatementsEnabled → const bool
-
The default value for the log statements flag
false
- defaultPath → const String
-
The default value for the path
'shadertoy.db'
- defaultPlaylistShaderCount → const int
-
The default number of shaders fetched for a playlist paged call.
15
- defaultShaderCount → const int
-
The default number of shaders fetched for a paged call.
12
- defaultSqliteWasmPath → const String
-
The default location of the sqlite wasm for the wasm backend
'sqlite3.wasm'
- defaultUserShaderCount → const int
-
The default number of shaders fetched for a user paged call.
8
- defaultWebBackend → const WebBackend
-
The default value for the web backend
WebBackend.sqljs