TrustLevel enum enum

Represents the trust level of an activatable class.

Inheritance

Constructors

TrustLevel(int value)
const
TrustLevel.from(int value)
factory

Values

baseTrust → const TrustLevel

The component has access to resources that are not protected.

const TrustLevel(0)
partialTrust → const TrustLevel

The component has access to resources requested in the app manifest and approved by the user.

const TrustLevel(1)
fullTrust → const TrustLevel

The component requires the full privileges of the user.

const TrustLevel(2)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
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

Constants

values → const List<TrustLevel>
A constant List of the values in this enum, in order of their declaration.