DVFlagTarget class

Who a rule applies to. Every stated condition must hold; an absent one does not restrict.

Constructors

DVFlagTarget({List<String>? platforms, List<String>? tenants, List<String>? organizationRoles, List<String>? locales, String? minAppVersion, String? maxAppVersion, Map<String, Object?> attributes = const <String, Object?>{}})
const

Properties

attributes → Map<String, Object?>
final
hashCode → int
The hash code for this object.
no setterinherited
locales → List<String>?
final
maxAppVersion → String?
Exclusive.
final
minAppVersion → String?
Inclusive.
final
organizationRoles → List<String>?
final
platforms → List<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tenants → List<String>?
final

Methods

matches(DVFlagContext context) → bool
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

Static Methods

fromJson(Object? json) → DVFlagTarget?