VoicePreviewsRequestModel class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

VoicePreviewsRequestModel({required String voiceDescription, dynamic text, bool? autoGenerateText, double? loudness, double? quality, dynamic seed, double? guidanceScale})
const
VoicePreviewsRequestModel.fromJson(Map<String, dynamic> json)
factory

Properties

autoGenerateText bool?
final
guidanceScale double?
final
hashCode int
The hash code for this object.
no setteroverride
loudness double?
final
quality double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seed → dynamic
final
text → dynamic
final
voiceDescription String
final

Methods

copyWith({String? voiceDescription, dynamic text, bool? autoGenerateText, double? loudness, double? quality, dynamic seed, double? guidanceScale}) VoicePreviewsRequestModel

Available on VoicePreviewsRequestModel, provided by the $VoicePreviewsRequestModelExtension extension

copyWithWrapped({Wrapped<String>? voiceDescription, Wrapped? text, Wrapped<bool?>? autoGenerateText, Wrapped<double?>? loudness, Wrapped<double?>? quality, Wrapped? seed, Wrapped<double?>? guidanceScale}) VoicePreviewsRequestModel

Available on VoicePreviewsRequestModel, provided by the $VoicePreviewsRequestModelExtension extension

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

Operators

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

Constants

fromJsonFactory → const VoicePreviewsRequestModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(VoicePreviewsRequestModel instance)