fromJson static method

PreprocessingPreset fromJson(
  1. String value
)

Implementation

static PreprocessingPreset fromJson(String value) =>
    PreprocessingPreset.values.firstWhere((e) => e.name == value);