Flag class

Annotations
  • @JsonSerializable()

Constructors

Flag({int? id, required Feature feature, String? stateValue, bool? enabled, int? environment, int? identity, int? featureSegment})
Flag.fromJson(Map<String, dynamic> json)
factory
Flag.named({int? id, required Feature feature, String? stateValue, bool? enabled, int? environment, int? identity, int? featureSegment})
factory
Flag.seed(String featureName, {bool enabled = true, String? value})
factory

Properties

enabled bool?
final
environment int?
final
feature Feature
final
featureSegment int?
final
hashCode int
The hash code for this object.
no setterinherited
id int?
final
identity int?
final
key String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stateValue String?
final

Methods

asString() String
copyWith({int? id, Feature? feature, String? stateValue, bool? enabled, int? environment, int? identity, int? featureSegment}) Flag
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.
inherited