EmailSafetyResult class final
The content-safety evaluation of an email message.
Exposes status, reasonCodes, sanitizedHtml, and normalizedText, among other contract fields.
Constructors
-
EmailSafetyResult({ContentSafetyStatus? status, List<
String> ? reasonCodes, String? sanitizedHtml, String? normalizedText, List<EmailScannedLink> ? links, String? scanner, String? contentHash, String? quarantineNotes}) -
const
-
EmailSafetyResult.fromJson(Map<
String, Object?> json) -
factory
Properties
- contentHash → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
links
→ List<
EmailScannedLink> ? -
final
- normalizedText → String?
-
final
- quarantineNotes → String?
-
final
-
reasonCodes
→ List<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sanitizedHtml → String?
-
final
- scanner → String?
-
final
- status → ContentSafetyStatus?
-
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