BlockedDomain class
- Annotations
-
- @freezed
Constructors
- BlockedDomain({@JsonKey(name: 'domain') required String name, @JsonKey(name: 'digest') required String sha256digest, required BlockSeverity severity, @JsonKey(name: 'comment') String? reason})
-
constfactory
-
BlockedDomain.fromJson(Map<
String, Object?> json) -
factory
Properties
-
copyWith
→ $BlockedDomainCopyWith<
BlockedDomain> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The domain which is blocked.
no setterinherited
- reason → String?
-
An optional reason for the domain block.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → BlockSeverity
-
The level to which the domain is blocked.
no setterinherited
- sha256digest → String
-
The SHA256 hash digest of the domain string.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited