copyWith method

SetBotUpdatesStatus copyWith({
  1. int? pendingUpdateCount,
  2. String? errorMessage,
})

Implementation

SetBotUpdatesStatus copyWith({
  int? pendingUpdateCount,
  String? errorMessage,
}) =>
    SetBotUpdatesStatus(
      pendingUpdateCount: pendingUpdateCount ?? this.pendingUpdateCount,
      errorMessage: errorMessage ?? this.errorMessage,
    );