INFRA: Set Up Project.
This commit is contained in:
21
lib/models/review_attribute_model.dart
Normal file
21
lib/models/review_attribute_model.dart
Normal file
@@ -0,0 +1,21 @@
|
||||
class ReviewAttributeModel {
|
||||
String? id;
|
||||
String? title;
|
||||
|
||||
ReviewAttributeModel({
|
||||
this.id,
|
||||
this.title,
|
||||
});
|
||||
|
||||
ReviewAttributeModel.fromJson(Map<String, dynamic> json) {
|
||||
id = json['id'] ?? "";
|
||||
title = json['title'] ?? "";
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final Map<String, dynamic> data = <String, dynamic>{};
|
||||
data['id'] = id;
|
||||
data['title'] = title;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user