FeatureModel.fromJson constructor
Implementation
factory FeatureModel.fromJson(Map<String, dynamic> json) {
return FeatureModel(
id: json['id'],
title: json['name'],
description: json['description'],
voteCount: json['voteCount'],
status: json['status'],
publicNote: json['publicNote'],
isVoted: json['isVoted'],
);
}