copyWith method

ContentStateFailure copyWith({
  1. String? contentId,
  2. String? failureReason,
})

Implementation

ContentStateFailure copyWith({String? contentId, String? failureReason}) {
  return ContentStateFailure(
    contentId: contentId ?? this.contentId,
    failureReason: failureReason ?? this.failureReason,
  );
}