LinkRelationType enum

Link Relation Types

Inheritance

Constructors

LinkRelationType()
const

Values

alternate → const LinkRelationType

The value "alternate" signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.

The value "related" signifies that the IRI in the value of the href attribute identifies a resource related to the resource described by the containing element. For example, the feed for a site that discusses the performance of the search engine at "http://search.example.com" might contain, as a child of atom:feed:

<link rel="related" href="http://search.example.com/"/>

An identical link might appear as a child of any atom:entry whose content contains a discussion of that same search engine.

self → const LinkRelationType

The value "self" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.

enclosure → const LinkRelationType

The value "enclosure" signifies that the IRI in the value of the href attribute identifies a related resource that is potentially large in size and might require special handling. For atom:link elements with rel="enclosure", the length attribute SHOULD be provided.

via → const LinkRelationType

The value "via" signifies that the IRI in the value of the href attribute identifies a resource that is the source of the information provided in the containing element.

other → const LinkRelationType

placeholder for unknown link types

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<LinkRelationType>
A constant List of the values in this enum, in order of their declaration.