copyWith method

GetLibraryVoicesResponseModel copyWith({
  1. List<LibraryVoiceResponseModel>? voices,
  2. bool? hasMore,
  3. dynamic lastSortId,
})

Implementation

GetLibraryVoicesResponseModel copyWith(
    {List<LibraryVoiceResponseModel>? voices,
    bool? hasMore,
    dynamic lastSortId}) {
  return GetLibraryVoicesResponseModel(
      voices: voices ?? this.voices,
      hasMore: hasMore ?? this.hasMore,
      lastSortId: lastSortId ?? this.lastSortId);
}