IriTerm class

IRI (Internationalized Resource Identifier) in RDF

IRIs are used to identify resources in the RDF data model. They are global identifiers that can refer to documents, concepts, or physical entities.

IRIs can be used in any position in a triple: subject, predicate, or object.

Example: http://example.org/person/john or http://xmlns.com/foaf/0.1/name

Inheritance
Implemented types

Constructors

IriTerm.new(String value)
Creates an IRI term from a prevalidated IRI string.
const
IriTerm.encodeFull(String rawIri)
factory
IriTerm.prevalidated(String value)
Creates an IRI term from a prevalidated IRI string.
const
IriTerm.validated(String value)
Creates an IRI term with the specified IRI string

Properties

hashCode int
The hash code for this object.
no setteroverride
iri String
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The string representation of the IRI
final

Methods

ensureValid() → void
Ensures the IRI is valid and absolute - useful for late validation if you assume that the const constructor was used without validation.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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