copyWith method

GetSpeechHistoryResponseModel copyWith({
  1. List<SpeechHistoryItemResponseModel>? history,
  2. dynamic lastHistoryItemId,
  3. bool? hasMore,
})

Implementation

GetSpeechHistoryResponseModel copyWith(
    {List<SpeechHistoryItemResponseModel>? history,
    dynamic lastHistoryItemId,
    bool? hasMore}) {
  return GetSpeechHistoryResponseModel(
      history: history ?? this.history,
      lastHistoryItemId: lastHistoryItemId ?? this.lastHistoryItemId,
      hasMore: hasMore ?? this.hasMore);
}