ProjectFeature class
Details of a project feature.
Constructors
-
ProjectFeature({String? feature, String? imageUri, String? localisedDescription, String? localisedName, List<
String> ? prerequisites, int? projectId, ProjectFeatureStateEnum? state, bool? toggleLocked}) -
ProjectFeature.fromJson(Map<
String, Object?> json) -
factory
Properties
- feature → String?
-
The key of the feature.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imageUri → String?
-
URI for the image representing the feature.
final
- localisedDescription → String?
-
Localized display description for the feature.
final
- localisedName → String?
-
Localized display name for the feature.
final
-
prerequisites
→ List<
String> -
List of keys of the features required to enable the feature.
final
- projectId → int?
-
The ID of the project.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → ProjectFeatureStateEnum?
-
The state of the feature. When updating the state of a feature, only
ENABLED and DISABLED are supported. Responses can contain all values
final
- toggleLocked → bool
-
Whether the state of the feature can be updated.
final
Methods
-
copyWith(
{String? feature, String? imageUri, String? localisedDescription, String? localisedName, List< String> ? prerequisites, int? projectId, ProjectFeatureStateEnum? state, bool? toggleLocked}) → ProjectFeature -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited