FeatureModel class

Available extensions
Annotations

Constructors

FeatureModel({int value = 4, required double ratio, String? note, List<int> numbers = const <int>[], Set<String> tags = const <String>{}, Mood mood = Mood.happy, Weird weird = const Weird(7)})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
mood → Mood
final
note → String?
final
numbers → List<int>
final
ratio → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Set<String>
final
to → ArtifactModelExporter

Available on FeatureModel, provided by the $FeatureModel extension

no setter
value → int
final
weird → Weird
final

Methods

copyWith({int? value, bool resetValue = _F, int? deltaValue, double? ratio, double? deltaRatio, String? note, bool deleteNote = _F, List<int>? numbers, bool resetNumbers = _F, List<int>? appendNumbers, List<int>? removeNumbers, Set<String>? tags, bool resetTags = _F, Set<String>? appendTags, Set<String>? removeTags, Mood? mood, bool resetMood = _F, Weird? weird, bool resetWeird = _F}) → FeatureModel

Available on FeatureModel, provided by the $FeatureModel extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>

Available on FeatureModel, provided by the $FeatureModel extension

toString() → String
A string representation of this object.
inherited

Operators

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