toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "first_name": firstName,
      "last_name": lastName,
      "company": company,
      "address_1": address1,
      "address_2": address2,
      "city": city,
      "state": state,
      "postcode": postcode,
      "country": country,
      "email": email,
      "phone": phone,
    };