VerificationSignal class

Checks whether the package comes from a verified publisher or has Flutter Favourite status.

Unverified community packages carry inherent supply-chain risk: anyone can publish under any name, and there is no vetting of the publisher's identity. Verified publishers and Flutter Favourites have gone through additional review processes on pub.dev.

Weight: 5.

Inheritance

Constructors

VerificationSignal()
Creates a VerificationSignal.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
Stable identifier for this signal — see SignalIds for the canonical set.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight double
Relative importance of this signal when computing the weighted-average risk score. Higher values have more influence on the final score.
no setteroverride

Methods

evaluate(PackageMetadata meta) SignalResult
Evaluates meta and returns a SignalResult with a risk in 0.0, 1.0.
override
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