fromValue static method

PixelMask fromValue(
  1. int value
)

Implementation

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