Reference class

A class representing a reference between two Weaviate objects.

Use this class to establish a reference from one Weaviate object to another.

Annotations
  • @JsonSerializable()

Constructors

Reference({required String from, required String to})
Creates a new Reference instance.
Reference.fromJson(Map<String, dynamic> json)
Creates a Reference instance from a JSON map.
factory

Properties

from String
The source Weaviate object's UUID from which the reference originates.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to String
The target Weaviate object's UUID to which the reference points.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the Reference instance to a JSON map.
toString() String
A string representation of this object.
override

Operators

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