toJson method

Map<String, dynamic> toJson()

Implementation

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