ProjectFeature constructor

ProjectFeature({
  1. String? feature,
  2. String? imageUri,
  3. String? localisedDescription,
  4. String? localisedName,
  5. List<String>? prerequisites,
  6. int? projectId,
  7. ProjectFeatureStateEnum? state,
  8. bool? toggleLocked,
})

Implementation

ProjectFeature(
    {this.feature,
    this.imageUri,
    this.localisedDescription,
    this.localisedName,
    List<String>? prerequisites,
    this.projectId,
    this.state,
    bool? toggleLocked})
    : prerequisites = prerequisites ?? [],
      toggleLocked = toggleLocked ?? false;