LabelValueDefinition constructor

  1. @jsonSerializable
const LabelValueDefinition({
  1. required String identifier,
  2. required String severity,
  3. required String blurs,
  4. @Default('warn') String defaultSetting,
  5. @Default(false) bool adultOnly,
  6. required List<LabelValueDefinitionStrings> locales,
})

Implementation

@jsonSerializable
const factory LabelValueDefinition({
  required String identifier,
  required String severity,
  required String blurs,
  @Default('warn') String defaultSetting,
  @Default(false) bool adultOnly,
  required List<LabelValueDefinitionStrings> locales,
}) = _LabelValueDefinition;