app files restructure
This commit is contained in:
parent
c07f0c25c5
commit
469a4b0383
312 changed files with 592 additions and 546 deletions
|
|
@ -1,19 +0,0 @@
|
|||
class Medicine {
|
||||
final String name;
|
||||
final String unit;
|
||||
final String form;
|
||||
|
||||
const Medicine(
|
||||
this.name,
|
||||
this.unit,
|
||||
this.form,
|
||||
);
|
||||
|
||||
factory Medicine.fromJson(dynamic json) {
|
||||
return Medicine(
|
||||
json['name'],
|
||||
json['unit'],
|
||||
json['dosage form'],
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue