toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['id'] = this.id;
  data['firstName'] = this.firstName;
  data['lastName'] = this.lastName;
  data['name'] = this.name;
  data['email'] = this.email;
  data['address'] = this.address;
  data['addressLine1'] = this.addressLine1;
  data['addressLine2'] = this.addressLine2;
  data['addressLine3'] = this.addressLine3;
  data['contactNumber'] = this.contactNumber;
  data['customerType'] = this.customerType;
  data['accountId'] = this.accountId;
  data['profileId'] = this.profileId;
  data['serviceId'] = this.serviceId;
  data['customerTypeId'] = this.customerTypeId;
  data['customerTypeValue'] = this.customerTypeValue;
  data['customerCategoryId'] = this.customerCategoryId;
  data['customerCategoryValue'] = this.customerCategoryValue;
  data['customerSubCategoryId'] = this.customerSubCategoryId;
  data['customerSubCategoryValue'] = this.customerSubCategoryValue;
  data['partnerId'] = this.partnerId;
  data['status'] = this.status;
  data['customerCode'] = this.customerCode;
  data['customerTin'] = this.customerTin;
  data['customerTradeName'] = this.customerTradeName;
  return data;
}