toString method
override
Returns a string representation of this quad
The format follows N-Quads conventions:
- Named graph quads:
<subject> <predicate> <object> <graph> .
- Default graph quads:
<subject> <predicate> <object> .
Returns: A string representation suitable for debugging and logging.
Implementation
@override
String toString() {
final triple = '${subject} ${predicate} ${object}';
return graphName != null ? '$triple $graphName .' : '$triple .';
}