toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['_id'] = this.sId;
data['companyName'] = this.companyName;
data['contactName'] = this.contactName;
data['emailId'] = this.emailId;
data['mobileNumber'] = this.mobileNumber;
data['address'] = this.address;
data['pinCode'] = this.pinCode;
data['country'] = this.country;
data['state'] = this.state;
data['city'] = this.city;
data['billingAddress'] = this.billingAddress;
data['shippingAddress'] = this.shippingAddress;
data['__typename'] = this.sTypename;
return data;
}