You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
779 B
34 lines
779 B
1 year ago
|
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;
|
||
|
}
|
||
|
|
||
|
}
|