Skip to content

Commit

Permalink
updated model
Browse files Browse the repository at this point in the history
  • Loading branch information
PoojaB26 committed Jul 8, 2018
1 parent 2217b61 commit 71f40c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model/student_model.dart
@@ -1,7 +1,7 @@
class Student{
String studentId;
String studentName;
String studentScores;
int studentScores;

Student({
this.studentId,
Expand All @@ -13,7 +13,7 @@ class Student{
return Student(
studentId: parsedJson['id'],
studentName : parsedJson['name'],
studentScores : parsedJson ['score'].toString()
studentScores : parsedJson ['score']
);
}
}

0 comments on commit 71f40c2

Please sign in to comment.