SafelinkRemoveRuleInput constructor

  1. @JsonSerializable(includeIfNull: false)
const SafelinkRemoveRuleInput({
  1. required String url,
  2. @PatternTypeConverter() required PatternType pattern,
  3. String? comment,
  4. String? createdBy,
  5. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory SafelinkRemoveRuleInput({
  /// The URL or domain to remove the rule for
  required String url,
  @PatternTypeConverter() required PatternType pattern,

  /// Optional comment about why the rule is being removed
  String? comment,

  /// Optional DID of the user. Only respected when using admin auth.
  String? createdBy,

  Map<String, dynamic>? $unknown,
}) = _SafelinkRemoveRuleInput;