Feature constructor

const Feature({
  1. required String key,
  2. required FeatureValueType valueType,
  3. required String title,
  4. FeatureType type = FeatureType.feature,
  5. String description = '',
  6. String remoteSourceKey = '',
  7. Object? value,
  8. Object? defaultValue,
})

Implementation

const Feature({
  required this.key,
  required this.valueType,
  required this.title,
  this.type = FeatureType.feature,
  this.description = '',
  this.remoteSourceKey = '',
  this.value,
  this.defaultValue,
});