toWire method

VolumeFadeStepWire toWire()

Converts to wire datatype which is used for host platform communication.

Implementation

VolumeFadeStepWire toWire() => VolumeFadeStepWire(
      timeMillis: time.inMilliseconds,
      volume: volume,
    );