from static method

PipFlyDirection from(
  1. String? value
)

Implementation

static PipFlyDirection from(String? value) => switch (value) {
      'left' => left,
      'top' => top,
      'bottom' => bottom,
      _ => right,
    };