Rule class

A rule as a part of the Unified Update Control policy.

See rules for how this is used.

Constructors

Rule({String? id, Outcome? outcome, Predicate? predicate, List<String>? stages, List<Target>? targets})
Rule.fromJson(Map json_)

Properties

hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
An EMM-defined identifier for this rule, of length at most 64 characters.
getter/setter pair
outcome ↔ Outcome?
Determines how to proceed with the update.
getter/setter pair
predicate ↔ Predicate?
The predicate of the rule, which can evaluate to true or false.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stages ↔ List<String>?
The stages at which the rule is evaluated.
getter/setter pair
targets ↔ List<Target>?
Targets that this rule applies to.
getter/setter pair

Methods

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

Operators

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