fromValue static method

PixelTrait fromValue(
  1. int value
)

Implementation

static PixelTrait fromValue(int value) =>
    PixelTrait.values.firstWhere((e) => e.value == value);