Feature<T> class

Available extensions

Constructors

Feature({required String key, required String title, FeatureType type = FeatureType.feature, String description = '', String remoteSourceKey = '', T? defaultValue})
const

Properties

defaultValue → T?
final
description → String
final
hashCode → int
The hash code for this object.
no setteroverride
isBoolean → bool

Available on Feature<T>, provided by the FeatureBooleanExt extension

Returns true if this Boolean Feature
no setter
isDouble → bool

Available on Feature<T>, provided by the FeatureBooleanExt extension

Returns true if this Double Feature
no setter
isEnabled → bool

Available on BooleanFeature, provided by the BooleanFeatureExt extension

Returns true if the feature is enabled, otherwise false.
no setter
isInteger → bool

Available on Feature<T>, provided by the FeatureBooleanExt extension

Returns true if this Integer Feature
no setter
isJson → bool

Available on Feature<T>, provided by the FeatureBooleanExt extension

Returns true if this Json Feature
no setter
isText → bool

Available on Feature<T>, provided by the FeatureBooleanExt extension

Returns true if this Text Feature
no setter
key → String
final
remoteSourceKey → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final
type → FeatureType
final
value → T?

Available on Feature<T>, provided by the FeatureBooleanExt extension

no setter

Methods

copyWith({String? key, FeatureType? type, String? title, String? description, String? remoteSourceKey, T? defaultValue}) → Feature<T>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

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