copyWith method
GetVoicesV2ResponseModel
copyWith({
- List<
VoiceResponseModel> ? voices, - bool? hasMore,
- int? totalCount,
- dynamic nextPageToken,
Implementation
GetVoicesV2ResponseModel copyWith(
{List<VoiceResponseModel>? voices,
bool? hasMore,
int? totalCount,
dynamic nextPageToken}) {
return GetVoicesV2ResponseModel(
voices: voices ?? this.voices,
hasMore: hasMore ?? this.hasMore,
totalCount: totalCount ?? this.totalCount,
nextPageToken: nextPageToken ?? this.nextPageToken);
}