GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.fromJson constructor
GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.fromJson(
- Map json_
Implementation
GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport.fromJson(
core.Map json_)
: this(
accountId: json_.containsKey('accountId')
? json_['accountId'] as core.String
: null,
aggregatorInfo: json_.containsKey('aggregatorInfo')
? GoogleAdsHomeservicesLocalservicesV1AggregatorInfo.fromJson(
json_['aggregatorInfo']
as core.Map<core.String, core.dynamic>)
: null,
bookingLead: json_.containsKey('bookingLead')
? GoogleAdsHomeservicesLocalservicesV1BookingLead.fromJson(
json_['bookingLead'] as core.Map<core.String, core.dynamic>)
: null,
businessName: json_.containsKey('businessName')
? json_['businessName'] as core.String
: null,
chargeStatus: json_.containsKey('chargeStatus')
? json_['chargeStatus'] as core.String
: null,
currencyCode: json_.containsKey('currencyCode')
? json_['currencyCode'] as core.String
: null,
disputeStatus: json_.containsKey('disputeStatus')
? json_['disputeStatus'] as core.String
: null,
geo: json_.containsKey('geo') ? json_['geo'] as core.String : null,
googleAdsLeadId: json_.containsKey('googleAdsLeadId')
? json_['googleAdsLeadId'] as core.String
: null,
leadCategory: json_.containsKey('leadCategory')
? json_['leadCategory'] as core.String
: null,
leadCreationTimestamp: json_.containsKey('leadCreationTimestamp')
? json_['leadCreationTimestamp'] as core.String
: null,
leadId: json_.containsKey('leadId')
? json_['leadId'] as core.String
: null,
leadPrice: json_.containsKey('leadPrice')
? (json_['leadPrice'] as core.num).toDouble()
: null,
leadType: json_.containsKey('leadType')
? json_['leadType'] as core.String
: null,
messageLead: json_.containsKey('messageLead')
? GoogleAdsHomeservicesLocalservicesV1MessageLead.fromJson(
json_['messageLead'] as core.Map<core.String, core.dynamic>)
: null,
phoneLead: json_.containsKey('phoneLead')
? GoogleAdsHomeservicesLocalservicesV1PhoneLead.fromJson(
json_['phoneLead'] as core.Map<core.String, core.dynamic>)
: null,
timezone: json_.containsKey('timezone')
? GoogleTypeTimeZone.fromJson(
json_['timezone'] as core.Map<core.String, core.dynamic>)
: null,
);