fromValue static method

GPUPrimitiveTopology fromValue(
  1. String value
)

Implementation

static GPUPrimitiveTopology fromValue(String value) =>
    values.firstWhere((e) => e.value == value);