VolumeFadeStep.fromWire constructor

VolumeFadeStep.fromWire(
  1. VolumeFadeStepWire wire
)

Converts from wire datatype.

Implementation

VolumeFadeStep.fromWire(VolumeFadeStepWire wire)
    : time = Duration(milliseconds: wire.timeMillis),
      volume = wire.volume;