LiteralContent class
Represents the content for building an RDF Literal.
Use the default constructor for a value that will be combined with a datatype,
or LiteralContent.withLanguage for a language-tagged string.
Constructors
- LiteralContent(String value)
-
Creates content for a literal that will be combined with a datatype.
const
- LiteralContent.withLanguage(String value, String? language)
-
Creates content for a language-tagged string literal.
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toLiteralTerm(
IriTerm? datatype) → LiteralTerm -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromLiteralTerm(
LiteralTerm term) → LiteralContent