toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (bookingAppointmentTimestamp != null)
        'bookingAppointmentTimestamp': bookingAppointmentTimestamp!,
      if (consumerEmail != null) 'consumerEmail': consumerEmail!,
      if (consumerPhoneNumber != null)
        'consumerPhoneNumber': consumerPhoneNumber!,
      if (customerName != null) 'customerName': customerName!,
      if (jobType != null) 'jobType': jobType!,
    };