NativeMessageTarget class

Constructors

NativeMessageTarget({required String application, List<String>? androidCertificates})
NativeMessageTarget.fromJS(NativeMessageTarget _wrapped)

Properties

androidCertificates ↔ List<String>?
List of expected signing certificates for the external Android app specified as SHA-256 fingerprints. If non-empty, the connection is established if the app is signed by at least one of the certificates provided. Must be non-empty for packed extensions on Android. Ignored for other platforms.
getter/setter pair
application ↔ String
The name of the native messaging host, or external Android app's package name.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
toJS → NativeMessageTarget
no setter

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