Survey class

Representation of an individual survey object.


Survey.fromJson(Map _json)


audience SurveyAudience
Targeting-criteria message containing demographic information
read / write
cost SurveyCost
Cost to run the survey and collect the necessary number of responses.
read / write
customerData ↔ String
Additional information to store on behalf of the API consumer and associate with this question. This binary blob is treated as opaque. This field is limited to 64K bytes.
read / write
customerDataAsBytes ↔ List<int>
read / write
description ↔ String
Text description of the survey.
read / write
owners ↔ List<String>
List of email addresses for survey owners. Must contain at least the address of the user making the API call.
read / write
questions ↔ List<SurveyQuestion>
List of questions defining the survey.
read / write
rejectionReason SurveyRejection
Reason for the survey being rejected. Only present if the survey state is rejected.
read / write
state ↔ String
State that the survey is in.
read / write
surveyUrlId ↔ String
Unique survey ID, that is viewable in the URL of the Survey Creator UI
read / write
title ↔ String
Optional name that will be given to the survey.
read / write
wantedResponseCount ↔ int
Number of responses desired for the survey.
read / write
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited


toJson() → Map<String, Object>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
toString() → String
Returns a string representation of this object.


operator ==(dynamic other) → bool
The equality operator.