Literal class

Constructors

Literal(String value, {URIRef? datatype, String? lang})

Properties

datatype URIRef?
getter/setter pair
hashCode int
Uses toString() to distinguish between different Literals.
no setteroverride
lang String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
toTtl() String
Converts a Literal to a turtle format for an object.

Operators

operator ==(Object other) bool
Checks if two triples are equal when adding them to a set.
override