ContextType.fromJson constructor

ContextType.fromJson(
  1. String value
)

Implementation

factory ContextType.fromJson(String value) =>
    ContextType.values.firstWhere((e) => e.value == value);