SegmentResultDto class
- Inheritance
-
- Object
- SegmentIdDto
- SegmentResultDto
- Annotations
-
- @JsonSerializable()
Constructors
-
SegmentResultDto.new({required String segmentId, required String text, required Map<
String, dynamic> ? metadata, required double distance}) -
SegmentResultDto.fromJson(Map<
String, dynamic> json) -
factory
- SegmentResultDto.fromModel(QuerySegmentResult segmentResult)
-
factory
Properties
- distance ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
↔ Map<
String, dynamic> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentId ↔ String
-
getter/setter pairinherited
- text ↔ String
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited