EnumFallbackConfig constructor

const EnumFallbackConfig({
  1. required bool generateFallbackValuesGlobally,
  2. String? globalEnumFallbackName,
  3. required Map<String, String> fallbackValueMap,
})

Implementation

const EnumFallbackConfig({
  required this.generateFallbackValuesGlobally,
  this.globalEnumFallbackName,
  required this.fallbackValueMap,
}) : assert(
          !generateFallbackValuesGlobally || globalEnumFallbackName != null);