toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (accountId != null) 'accountId': accountId!,
      if (aggregatorInfo != null) 'aggregatorInfo': aggregatorInfo!,
      if (bookingLead != null) 'bookingLead': bookingLead!,
      if (businessName != null) 'businessName': businessName!,
      if (chargeStatus != null) 'chargeStatus': chargeStatus!,
      if (currencyCode != null) 'currencyCode': currencyCode!,
      if (disputeStatus != null) 'disputeStatus': disputeStatus!,
      if (geo != null) 'geo': geo!,
      if (googleAdsLeadId != null) 'googleAdsLeadId': googleAdsLeadId!,
      if (leadCategory != null) 'leadCategory': leadCategory!,
      if (leadCreationTimestamp != null)
        'leadCreationTimestamp': leadCreationTimestamp!,
      if (leadId != null) 'leadId': leadId!,
      if (leadPrice != null) 'leadPrice': leadPrice!,
      if (leadType != null) 'leadType': leadType!,
      if (messageLead != null) 'messageLead': messageLead!,
      if (phoneLead != null) 'phoneLead': phoneLead!,
      if (timezone != null) 'timezone': timezone!,
    };