Revert "Rename everything filcnaplo-related to refilc"
This reverts commit d1a9625d93.
This commit is contained in:
19
filcnaplo_kreta_api/lib/models/school.dart
Normal file
19
filcnaplo_kreta_api/lib/models/school.dart
Normal file
@@ -0,0 +1,19 @@
|
||||
class School {
|
||||
String instituteCode;
|
||||
String name;
|
||||
String city;
|
||||
|
||||
School({
|
||||
required this.instituteCode,
|
||||
required this.name,
|
||||
required this.city,
|
||||
});
|
||||
|
||||
factory School.fromJson(Map json) {
|
||||
return School(
|
||||
instituteCode: json["instituteCode"] ?? "",
|
||||
name: (json["name"] ?? "").trim(),
|
||||
city: json["city"] ?? "",
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user