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
checkfound:passedor not, ordeclined, withsaysto read beside it.const - PluginCheckOutcome.fromJson(Object? json)
-
Reads one outcome as
conformanceReportwrites it. Throws a FormatException for an entry that is not one: an entry without acheck, apassedand asaysof 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: whatplugin.rendernames for a plugin that places nodes in the frame — the render checks offlutter3d_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