copyWith method

UpdateStoryPostFailed copyWith({
  1. Story? story,
  2. TdError? error,
  3. CanPostStoryResult? errorType,
})

Implementation

UpdateStoryPostFailed copyWith({
  Story? story,
  TdError? error,
  CanPostStoryResult? errorType,
}) => UpdateStoryPostFailed(
  story: story ?? this.story,
  error: error ?? this.error,
  errorType: errorType ?? this.errorType,
);