HapticWaveform class final

An Android-style waveform: segment timings in milliseconds and amplitudes from 0 to 255, both the same length.

Constructors

HapticWaveform(List<int> timings, List<int> amplitudes)
const

Properties

amplitudes → List<int>
final
duration → Duration
no setter
hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timings → List<int>
final

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