fromWire static method

Implementation

static PatchbayRevealDirection fromWire(PatchbayRevealDirectionWire wire) =>
    switch (wire) {
      PatchbayRevealDirectionWire.forward => PatchbayRevealDirection.forward,
      PatchbayRevealDirectionWire.backward =>
        PatchbayRevealDirection.backward,
      PatchbayRevealDirectionWire.both => PatchbayRevealDirection.both,
    };