PulsarPreset class

Lightweight handle to a named preset, returned by PulsarPresets.getByName.

Each call to play re-resolves the preset by name on the native side, so the handle is safe to store but does not hold a native object reference.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The preset name used to resolve and play this preset on the native side.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
play() Future<void>
Trigger this preset's haptic feedback.
toString() String
A string representation of this object.
inherited

Operators

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