Citation class
Citations are inline references that can provide users more detailed information about the inline reference.
Corresponding inline citations should be present in the message text in a
markup format of {text}. Citations are only supported when the message's
markup_syntax is set to MARKDOWN. Unreferenced citations in
Elements.citations (those without a matching `` tag in the message text)
are ignored and do not cause the message to be rejected.
Constructors
-
Citation({List<
CitedSource> ? citedSources, String? id}) - Citation.fromJson(Map json_)
Properties
-
citedSources
↔ List<
CitedSource> ? -
A list of sources that are relevant to the citation.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String?
-
The ID of the citation.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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