Form class

A Google Forms document.

A form is created in Drive, and deleting a form or changing its access protections is done via the Drive API.

Constructors

Form({String? formId, Info? info, List<Item>? items, String? linkedSheetId, PublishSettings? publishSettings, String? responderUri, String? revisionId, FormSettings? settings})
Form.fromJson(Map json_)

Properties

formId ↔ String?
The form ID.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
info ↔ Info?
The title and description of the form.
getter/setter pair
items ↔ List<Item>?
A list of the form's items, which can include section headers, questions, embedded media, etc.
getter/setter pair
linkedSheetId ↔ String?
The ID of the linked Google Sheet which is accumulating responses from this Form (if such a Sheet exists).
getter/setter pair
publishSettings ↔ PublishSettings?
The publishing settings for a form.
getter/setter pair
responderUri ↔ String?
The form URI to share with responders.
getter/setter pair
revisionId ↔ String?
The revision ID of the form.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
settings ↔ FormSettings?
The form's settings.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited