Document class
A Google Docs document.
Constructors
-
Document({Body? body, String? documentId, DocumentStyle? documentStyle, Map<
String, Footnote> ? footnotes, Map<String, Header> ? headers, Map<String, InlineObject> ? inlineObjects, Map<String, List> ? lists, Map<String, NamedRanges> ? namedRanges, NamedStyles? namedStyles, Map<String, PositionedObject> ? positionedObjects, String? revisionId, Map<String, SuggestedDocumentStyle> ? suggestedDocumentStyleChanges, Map<String, SuggestedNamedStyles> ? suggestedNamedStylesChanges, String? suggestionsViewMode, String? title}) - Document.fromJson(Map json_)
Properties
- body ↔ Body?
-
The main body of the document.
getter/setter pair
- documentId ↔ String?
-
The ID of the document.
getter/setter pair
- documentStyle ↔ DocumentStyle?
-
The style of the document.
getter/setter pair
-
The footers in the document, keyed by footer ID.
getter/setter pair
-
footnotes
↔ Map<
String, Footnote> ? -
The footnotes in the document, keyed by footnote ID.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, Header> ? -
The headers in the document, keyed by header ID.
getter/setter pair
-
inlineObjects
↔ Map<
String, InlineObject> ? -
The inline objects in the document, keyed by object ID.
getter/setter pair
-
lists
↔ Map<
String, List> ? -
The lists in the document, keyed by list ID.
getter/setter pair
-
namedRanges
↔ Map<
String, NamedRanges> ? -
The named ranges in the document, keyed by name.
getter/setter pair
- namedStyles ↔ NamedStyles?
-
The named styles of the document.
getter/setter pair
-
positionedObjects
↔ Map<
String, PositionedObject> ? -
The positioned objects in the document, keyed by object ID.
getter/setter pair
- revisionId ↔ String?
-
The revision ID of the document.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suggestedDocumentStyleChanges
↔ Map<
String, SuggestedDocumentStyle> ? -
The suggested changes to the style of the document, keyed by suggestion
ID.
getter/setter pair
-
suggestedNamedStylesChanges
↔ Map<
String, SuggestedNamedStyles> ? -
The suggested changes to the named styles of the document, keyed by
suggestion ID.
getter/setter pair
- suggestionsViewMode ↔ String?
-
The suggestions view mode applied to the document.
getter/setter pair
- title ↔ String?
-
The title of the document.
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