Update AppUser Objecct to cater for all fields.
enable file generation of med cert
This commit is contained in:
parent
fce5380390
commit
2fa2191a5f
23 changed files with 251 additions and 79 deletions
|
|
@ -12,7 +12,7 @@ Future<List<Note>> fetchNotes(String endpoint) async {
|
|||
if (response.statusCode == 200) {
|
||||
Iterable l = jsonDecode(response.body);
|
||||
List<Note> notes = List<Note>.from(l.map((model) => Note.fromJson(model)));
|
||||
print("Here notes");
|
||||
//print("Here notes");
|
||||
return notes;
|
||||
} else {
|
||||
throw Exception('failed to load patients');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue