fromJson static method

OutputFormat fromJson(
  1. String value
)

Implementation

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