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.
26 lines
705 B
26 lines
705 B
2 years ago
|
import 'package:flutter/material.dart';
|
||
|
|
||
|
|
||
|
class GetDeliveryboyDetailsModel {
|
||
|
String deliveryboy_name = '';
|
||
|
String deliveryboy_phone = '';
|
||
|
String deliveryboy_alternativeContactNumber = '';
|
||
|
String deliveryboy_address='';
|
||
|
|
||
|
Color cardColor=Colors.white;
|
||
|
|
||
|
GetDeliveryboyDetailsModel();
|
||
|
|
||
|
factory GetDeliveryboyDetailsModel.fromJson(Map<String, dynamic> json){
|
||
|
GetDeliveryboyDetailsModel rtvm = new GetDeliveryboyDetailsModel();
|
||
|
|
||
|
rtvm.deliveryboy_name = json['name'] ?? '';
|
||
|
rtvm.deliveryboy_phone = json['phone'] ?? '';
|
||
|
rtvm.deliveryboy_alternativeContactNumber = json['alternativeContactNumber'] ?? '';
|
||
|
rtvm.deliveryboy_address = json['address'] ??'';
|
||
|
|
||
|
|
||
|
return rtvm;
|
||
|
}
|
||
|
|
||
|
}
|