from static method

GeometryKind from(
  1. Object? v
)

Implementation

static GeometryKind from(Object? v) => switch (v) {
      'quad' => quad,
      'segment' => segment,
      'partial' => partial,
      'unavailable' => unavailable,
      _ => unknown,
    };