RdfDirection enum
Controls how RDF text direction is represented in JSON-LD output and how directional literals are interpreted during decoding.
See the JSON-LD 1.1 specification on base direction for background.
Values
- i18nDatatype → const RdfDirection
-
Encode/decode text direction using the
https://www.w3.org/ns/i18n#datatype convention.A directional literal
"text"@enwith directionrtlis represented as a typed literal with datatypehttps://www.w3.org/ns/i18n#en_rtl. - compoundLiteral → const RdfDirection
-
Encode/decode text direction using compound literals — blank nodes with
rdf:value,rdf:language, andrdf:directionproperties.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
Static Methods
-
fromSpecString(
String? value) → RdfDirection? -
Parses a JSON-LD spec string (
'i18n-datatype'or'compound-literal') into the corresponding enum value. Returnsnullfor unrecognized input.
Constants
-
values
→ const List<
RdfDirection> - A constant List of the values in this enum, in order of their declaration.