Person class
A person or email address mentioned in a document.
These mentions behave as a single, immutable element containing the person's name or email address.
Constructors
-
Person({String? personId, PersonProperties? personProperties, List<
String> ? suggestedDeletionIds, List<String> ? suggestedInsertionIds, Map<String, SuggestedTextStyle> ? suggestedTextStyleChanges, TextStyle? textStyle}) - Person.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- personId ↔ String?
-
The unique ID of this link.
getter/setter pair
- personProperties ↔ PersonProperties?
-
The properties of this Person.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
suggestedDeletionIds
↔ List<
String> ? -
IDs for suggestions that remove this person link from the document.
getter/setter pair
-
suggestedInsertionIds
↔ List<
String> ? -
IDs for suggestions that insert this person link into the document.
getter/setter pair
-
suggestedTextStyleChanges
↔ Map<
String, SuggestedTextStyle> ? -
The suggested text style changes to this Person, keyed by suggestion ID.
getter/setter pair
- textStyle ↔ TextStyle?
-
The text style of this Person.
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