toJson method

Map<String, dynamic> toJson()

Converts this LaunchCustomerModel to a JSON format.

Implementation

Map<String, dynamic> toJson() {
  return {
    if (customerName != null) 'customerName': customerName,
    if (customerEmail != null) 'customerEmail': customerEmail,
    if (customerMobile != null) 'customerMobile': customerMobile,
    if (customerProfileId != null) 'customerProfileId': customerProfileId,
  };
}