InterpretedLabelValueDefinition constructor
const
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< behaviors,ModerationBehaviorContext, ModerationBehavior> > - 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;