FilteringRuleData constructor

  1. @JsonSerializable(includeIfNull: false)
const FilteringRuleData({
  1. required String id,
  2. required String value,
  3. String? tag,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory FilteringRuleData({
  /// Unique identifier of this rule. This is returned as a string in order
  /// to avoid complications with languages and tools that cannot
  /// handle large integers.
  required String id,

  /// The rule text as submitted when creating the rule.
  required String value,

  /// The tag label as defined when creating the rule.
  String? tag,
}) = _FilteringRuleData;