GoogleAdsHomeservicesLocalservicesV1MessageLead.fromJson constructor

GoogleAdsHomeservicesLocalservicesV1MessageLead.fromJson(
  1. Map json_
)

Implementation

GoogleAdsHomeservicesLocalservicesV1MessageLead.fromJson(core.Map json_)
    : this(
        consumerPhoneNumber: json_.containsKey('consumerPhoneNumber')
            ? json_['consumerPhoneNumber'] as core.String
            : null,
        customerName: json_.containsKey('customerName')
            ? json_['customerName'] as core.String
            : null,
        jobType: json_.containsKey('jobType')
            ? json_['jobType'] as core.String
            : null,
        postalCode: json_.containsKey('postalCode')
            ? json_['postalCode'] as core.String
            : null,
      );