InterpretedLabelValueDefinition constructor

const InterpretedLabelValueDefinition({
  1. required String identifier,
  2. @Default([]) List<LabelValueDefinitionFlag> flags,
  3. @Default(false) bool configurable,
  4. @Default(LabelPreference.warn) LabelPreference defaultSetting,
  5. required String severity,
  6. required String blurs,
  7. @Default({}) Map<LabelTarget, Map<ModerationBehaviorContext, ModerationBehavior>> behaviors,
  8. String? definedBy,
})

Implementation

const factory InterpretedLabelValueDefinition({
  required String identifier,
  @Default([]) List<LabelValueDefinitionFlag> flags,
  @Default(false) bool configurable,
  @Default(LabelPreference.warn) LabelPreference defaultSetting,
  required String severity,
  required String blurs,
  @Default({})
  Map<LabelTarget, Map<ModerationBehaviorContext, ModerationBehavior>>
      behaviors,
  String? definedBy,
}) = _InterpretedLabelValueDefinition;