PluginCheckOutcome class final

What one check found, on one backend where the check is per backend.

Constructors

PluginCheckOutcome({required String check, required bool passed, required String says, String? backend, bool declined = false, List<String> requires = const <String>[]})
What check found: passed or not, or declined, with says to read beside it.
const
PluginCheckOutcome.fromJson(Object? json)
Reads one outcome as conformanceReport writes it. Throws a FormatException for an entry that is not one: an entry without a check, a passed and a says of their types.
factory

Properties

backend → String?
The backend this outcome is about, for the backends check; null for the others and for the run with no backend at all.
final
check → String
One of pluginCheckNames.
final
declined → bool
Whether the check could not be asked — no budget declared, assertions off, no world given. Never green: a declined check is reported as skipped, with says as the reason, and keeps the badge away.
final
hashCode → int
The hash code for this object.
no setterinherited
passed → bool
Whether the plugin did what the check asks.
final
requires → List<String>
The checks this outcome makes part of the badge, which must each have passed on the software backend (cpu) for it to be earned: what plugin.render names for a plugin that places nodes in the frame — the render checks of flutter3d_conformance_render. Empty for every other outcome.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
says → String
The sentence a person reads beside the check's name.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited