FeatureBean constructor

FeatureBean({
  1. FeatureBeanBoardFeature? boardFeature,
  2. int? boardId,
  3. FeatureBeanState? state,
  4. String? localisedName,
  5. String? localisedDescription,
  6. String? learnMoreLink,
  7. String? imageUri,
  8. FeatureBeanFeatureType? featureType,
  9. String? localisedGroup,
  10. List<FeatureBeanPermissibleEstimationTypesItem>? permissibleEstimationTypes,
  11. String? featureId,
  12. String? learnMoreArticleId,
  13. bool? toggleLocked,
})

Implementation

FeatureBean(
    {this.boardFeature,
    this.boardId,
    this.state,
    this.localisedName,
    this.localisedDescription,
    this.learnMoreLink,
    this.imageUri,
    this.featureType,
    this.localisedGroup,
    List<FeatureBeanPermissibleEstimationTypesItem>?
        permissibleEstimationTypes,
    this.featureId,
    this.learnMoreArticleId,
    bool? toggleLocked})
    : permissibleEstimationTypes = permissibleEstimationTypes ?? [],
      toggleLocked = toggleLocked ?? false;