FeatureState class

Constructors

FeatureState({required String id, required String key, bool? l, int? version, FeatureValueType? type, dynamic value, String? environmentId, List<FeatureRolloutStrategy>? strategies})
FeatureState.fromJson(Map<String, dynamic> json)

Properties

environmentId String?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id String
getter/setter pair
key String
getter/setter pair
l bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strategies List<FeatureRolloutStrategy>
getter/setter pair
type FeatureValueType?
getter/setter pair
value ↔ dynamic
getter/setter pair
version int?
getter/setter pair

Methods

copyWith({String? id, String? key, bool? l, int? version, FeatureValueType? type, dynamic value, String? environmentId, List<FeatureRolloutStrategy>? strategies}) FeatureState
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.
override

Operators

operator ==(Object? __other) bool
The equality operator.
override

Static Methods

fromJson_environmentId(Map<String, dynamic> json) String?
fromJson_id(Map<String, dynamic> json) String
fromJson_key(Map<String, dynamic> json) String
fromJson_l(Map<String, dynamic> json) bool?
fromJson_strategies(Map<String, dynamic> json) List<FeatureRolloutStrategy>
fromJson_type(Map<String, dynamic> json) FeatureValueType?
fromJson_value(Map<String, dynamic> json) → dynamic
fromJson_version(Map<String, dynamic> json) int?
listFromJson(List? json) List<FeatureState>
mapFromJson(Map<String, dynamic>? json) Map<String, FeatureState>