SegmentInfoDto class

Inheritance
Annotations
  • @JsonSerializable()

Constructors

SegmentInfoDto.new({required String segmentId, required String text, required Map<String, dynamic>? metadata})
SegmentInfoDto.fromJson(Map<String, dynamic> json)
factory
SegmentInfoDto.fromModel(SegmentInfo segmentInfo)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, dynamic>?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentId String
getter/setter pair
text String
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toModel() SegmentInfo
override
toString() String
A string representation of this object.
inherited

Operators

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