BanUrlRequest class
- Annotations
-
- @JsonSerializable.new()
Constructors
- BanUrlRequest({required String url, String? category, int? severity, String? sourceUrl, String? notes})
-
const
-
BanUrlRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- category → String?
-
Category / source slug (defaults to "manual")
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- notes → String?
-
Internal notes for audit trail
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → int?
-
Severity: 0 allow, 1 warn, 2 block, 3 block+report (default 2)
final
- sourceUrl → String?
-
Upstream source URL if imported from a feed
final
- url → String
-
Absolute URL to ban. Canonicalized before storage.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited