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.
48 lines
1.0 KiB
48 lines
1.0 KiB
import 'package:flutter/material.dart';
|
|
|
|
|
|
class GetDeliveryboyDetailsModel {
|
|
String tankerName = '';
|
|
String bookingid = '';
|
|
String supplierId = '';
|
|
String dateOfOrder='';
|
|
String typeofwater='';
|
|
String delivery_agent_mobile='';
|
|
String capacity='';
|
|
String address='';
|
|
String price='';
|
|
String customerId='';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Color cardColor=Colors.white;
|
|
|
|
GetDeliveryboyDetailsModel();
|
|
|
|
factory GetDeliveryboyDetailsModel.fromJson(Map<String, dynamic> json){
|
|
GetDeliveryboyDetailsModel rtvm = new GetDeliveryboyDetailsModel();
|
|
|
|
rtvm.tankerName = json['tankerName'] ?? '';
|
|
rtvm.bookingid = json['bookingid'] ?? '';
|
|
rtvm.supplierId = json['supplierId'] ?? '';
|
|
rtvm.dateOfOrder = json['dateOfOrder'] ??'';
|
|
rtvm.typeofwater = json['typeofwater'] ??'';
|
|
rtvm.delivery_agent_mobile = json['delivery_agent_mobile'] ??'';
|
|
rtvm.capacity = json['capacity'] ??'';
|
|
rtvm.address = json['address'] ??'';
|
|
rtvm.price = json['price'] ??'';
|
|
rtvm.customerId = json['customerId'] ??'';
|
|
|
|
|
|
|
|
|
|
|
|
return rtvm;
|
|
}
|
|
|
|
} |