DVFlagRules class

The rules one environment publishes: every flag the deployment knows, in order, and the version that identifies this set.

Constructors

DVFlagRules({required int rulesVersion, required Map<String, List<DVFlagRule>> flags})
const
DVFlagRules.fromJson(Map<String, Object?> json, {void report(String code, String message)?})
Reads a published rule set.
factory

Properties

flags → Map<String, List<DVFlagRule>>
final
hashCode → int
The hash code for this object.
no setterinherited
rulesVersion → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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

Constants

supportedFormat → const int
The newest document format this build reads.