copyWith method

FinishFileGeneration copyWith({
  1. int? generationId,
  2. TdError? error,
})

Implementation

FinishFileGeneration copyWith({
  int? generationId,
  TdError? error,
}) =>
    FinishFileGeneration(
      generationId: generationId ?? this.generationId,
      error: error ?? this.error,
    );