VibrationPresetConfig class

Configuration for a vibration preset.

Constructors

VibrationPresetConfig.new({required List<int> pattern, required List<int> intensities})
Creates a new vibration preset configuration.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
intensities List<int>
The intensities of the vibration, ranging from 0 to 255.
final
pattern List<int>
The pattern of the vibration in milliseconds.
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
toString() String
A string representation of this object.
inherited

Operators

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