parent
26a73149c9
commit
ba22d47bae
@ -1,34 +0,0 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
|
||||
class GetMedecineDetailsModel {
|
||||
String name = '';
|
||||
String manufacturers = '';
|
||||
String salt_composition = '';
|
||||
String mrp='';
|
||||
String primary_use='';
|
||||
|
||||
|
||||
String bs64str='';
|
||||
String picture='';
|
||||
Map<String,dynamic> picture1={};
|
||||
Color text_color=Colors.black;
|
||||
|
||||
|
||||
|
||||
GetMedecineDetailsModel();
|
||||
|
||||
factory GetMedecineDetailsModel.fromJson(Map<String, dynamic> json){
|
||||
GetMedecineDetailsModel rtvm = new GetMedecineDetailsModel();
|
||||
|
||||
rtvm.name = json['name'] ?? '';
|
||||
rtvm.manufacturers = json['manufacturers'] ?? '';
|
||||
rtvm.salt_composition = json['salt_composition'] ?? '';
|
||||
rtvm.mrp = json['mrp'] ?? '';
|
||||
rtvm.primary_use = json['primary_use'] ??'';
|
||||
rtvm.picture = json['picture'] ?? '';
|
||||
|
||||
return rtvm;
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in new issue