fromValue static method

SparseColorMethod fromValue(
  1. int value
)

Implementation

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