Skip to content

Commit

Permalink
More Changes Part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
palmer-matthew committed Sep 15, 2020
1 parent a7c1cea commit 0c01173
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions lib/models/scholarship_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ class ScholarshipList with ChangeNotifier{
current = this.scholarships;
}

//Named Constructor for converting json into the model used
ScholarshipList.fromJson(List<dynamic> parsedJson) {
List<Scholarship> lst = new List<Scholarship>();
lst = parsedJson.map((i) => Scholarship.fromJson(i)).toList();
this.scholarships = lst;
hasResults = true;
current = this.scholarships;
}

//Function which searches to see if the query is contained in the Scholarship Name
//Possibly could be refined for better searching methods
void search(String query){
Expand Down

0 comments on commit 0c01173

Please sign in to comment.