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