IntentCallAuthorizationPolicy class final

Constructors

IntentCallAuthorizationPolicy({Set<String> allowedSources = const <String>{}, Set<String> allowedQualifiedNames = const <String>{}, IntentCallConfirmation? confirm})
const
IntentCallAuthorizationPolicy.allowAll()
const
IntentCallAuthorizationPolicy.debugAllowAll()
Allows all invocations only while Dart assertions are enabled.
const
IntentCallAuthorizationPolicy.denyAll()
const

Properties

allowAnyQualifiedName → bool
final
allowAnySource → bool
final
allowedQualifiedNames → Set<String>
final
allowedSources → Set<String>
final
confirm → IntentCallConfirmation?
final
debugOnly → bool
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

allows(IntentCallInvocationEnvelope envelope) → Future<bool>
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