DateElement class

A date instance mentioned in a document.

Constructors

DateElement({DateElementProperties? dateElementProperties, String? dateId, Map<String, SuggestedDateElementProperties>? suggestedDateElementPropertiesChanges, List<String>? suggestedDeletionIds, List<String>? suggestedInsertionIds, Map<String, SuggestedTextStyle>? suggestedTextStyleChanges, TextStyle? textStyle})
DateElement.fromJson(Map json_)

Properties

dateElementProperties DateElementProperties?
The properties of this DateElement.
getter/setter pair
dateId String?
The unique ID of this date.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suggestedDateElementPropertiesChanges Map<String, SuggestedDateElementProperties>?
The suggested changes to the date element properties, keyed by suggestion ID.
getter/setter pair
suggestedDeletionIds List<String>?
IDs for suggestions that remove this date from the document.
getter/setter pair
suggestedInsertionIds List<String>?
IDs for suggestions that insert this date into the document.
getter/setter pair
suggestedTextStyleChanges Map<String, SuggestedTextStyle>?
The suggested text style changes to this DateElement, keyed by suggestion ID.
getter/setter pair
textStyle TextStyle?
The text style of this DateElement.
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