Features<T extends Enum> class

Constructors

Features({required List<FeatureFlag<T>> flags, required List<T> defaultOn})
const

Properties

defaultOn List<T>
final
flags List<FeatureFlag<T>>
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isActive(T feat) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
inherited
updateFlag(T feat, bool active) Features<T>

Operators

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