FeatureModel class
Constructors
- FeatureModel({required String id, required String title, required String description, required int voteCount, required String status, required String publicNote, required bool isVoted})
- FeatureModel.empty()
-
FeatureModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isVoted → bool
-
final
- publicNote → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
final
- title → String
-
final
- voteCount → int
-
final
Methods
-
copyWith(
{String? id, bool? isVoted, int? voteCount}) → FeatureModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited