SoundSet enum
The library exposes this enum but we do not use it.
The reason is this issue: https://github.com/lichess-org/api/issues/233.
For now we can not use since it will imply that the API call deserialization will fail until the user sets the SoundSet pref manually.
So, let package user handle it himself, although we expose a helper method tryParseIgnoringCase.
Values
- silent → const SoundSet
-
const SoundSet('silent')
- standard → const SoundSet
-
const SoundSet('standard')
- piano → const SoundSet
-
const SoundSet('piano')
- nes → const SoundSet
-
const SoundSet('nes')
- sfx → const SoundSet
-
const SoundSet('sfx')
- futuristic → const SoundSet
-
const SoundSet('futuristic')
- robot → const SoundSet
-
const SoundSet('robot')
- music → const SoundSet
-
const SoundSet('music')
- speech → const SoundSet
-
const SoundSet('speech')
Properties
Methods
-
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
Static Methods
-
tryParseIgnoringCase(
String raw) → SoundSet? -
Try parse the
soundSet
Lichess preference string ignoring the case.