DangerType enum
- file
- The download's filename is suspicious.
- url
- The download's URL is known to be malicious.
- content
- The downloaded file is known to be malicious.
- uncommon
- The download's URL is not commonly downloaded and could be dangerous.
- host
- The download came from a host known to distribute malicious binaries and is likely dangerous.
- unwanted
- The download is potentially unwanted or unsafe. E.g. it could make changes to browser or computer settings.
- safe
- The download presents no known danger to the user's computer.
- accepted
- The user has accepted the dangerous download.
Values
- file → const DangerType
-
const DangerType('file') - url → const DangerType
-
const DangerType('url') - content → const DangerType
-
const DangerType('content') - uncommon → const DangerType
-
const DangerType('uncommon') - host → const DangerType
-
const DangerType('host') - unwanted → const DangerType
-
const DangerType('unwanted') - safe → const DangerType
-
const DangerType('safe') - accepted → const DangerType
-
const DangerType('accepted') - allowlistedByPolicy → const DangerType
-
const DangerType('allowlistedByPolicy') - asyncScanning → const DangerType
-
const DangerType('asyncScanning') - asyncLocalPasswordScanning → const DangerType
-
const DangerType('asyncLocalPasswordScanning') - passwordProtected → const DangerType
-
const DangerType('passwordProtected') - blockedTooLarge → const DangerType
-
const DangerType('blockedTooLarge') - sensitiveContentWarning → const DangerType
-
const DangerType('sensitiveContentWarning') - sensitiveContentBlock → const DangerType
-
const DangerType('sensitiveContentBlock') - unsupportedFileType → const DangerType
-
const DangerType('unsupportedFileType') - deepScannedFailed → const DangerType
-
const DangerType('deepScannedFailed') - deepScannedSafe → const DangerType
-
const DangerType('deepScannedSafe') - deepScannedOpenedDangerous → const DangerType
-
const DangerType('deepScannedOpenedDangerous') - promptForScanning → const DangerType
-
const DangerType('promptForScanning') - promptForLocalPasswordScanning → const DangerType
-
const DangerType('promptForLocalPasswordScanning') - accountCompromise → const DangerType
-
const DangerType('accountCompromise')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toJS → String
-
no setter
- value → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJS(
String value) → DangerType
Constants
-
values
→ const List<
DangerType> - A constant List of the values in this enum, in order of their declaration.