GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.fromJson constructor

GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.fromJson(
  1. Map json_
)

Implementation

GoogleAdsSearchads360V23CommonLeadFormCustomQuestionField.fromJson(
  core.Map json_,
) : this(
      customQuestionText: json_['customQuestionText'] as core.String?,
      hasLocationAnswer: json_['hasLocationAnswer'] as core.bool?,
      singleChoiceAnswers: json_.containsKey('singleChoiceAnswers')
          ? GoogleAdsSearchads360V23CommonLeadFormSingleChoiceAnswers.fromJson(
              json_['singleChoiceAnswers']
                  as core.Map<core.String, core.dynamic>,
            )
          : null,
    );