toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();
  data['first_name'] = this.firstName;
  data['last_name'] = this.lastName;
  data['company'] = this.company;
  data['address_1'] = this.address1;
  data['address_2'] = this.address2;
  data['city'] = this.city;
  data['state'] = this.state;
  data['postcode'] = this.postcode;
  data['country'] = this.country;
  data['email'] = this.email;
  data['phone'] = this.phone;
  return data;
}