[doc/async] Remove excessive statement from Timer.periodic() documentation

Bug:#54423
Change-Id: I483d51861390cd4c5def02295a976db4363b84bb
CoreLibraryReviewExempt: Documentation-only change
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/342762
Reviewed-by: Lasse Nielsen <lrn@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
This commit is contained in:
Sergey G. Grekhov 2024-01-09 09:10:44 +00:00 committed by Commit Queue
parent 3fa9f798ab
commit 77886bf641

View file

@ -10,7 +10,7 @@ part of dart.async;
/// When the timer reaches 0, the timer invokes the specified callback function.
/// Use a periodic timer to repeatedly count down the same interval.
///
/// A negative duration is treated the same as a duration of 0.
/// A negative duration is treated the same as [Duration.zero].
/// If the duration is statically known to be 0, consider using [run].
///
/// ```dart
@ -64,7 +64,7 @@ abstract interface class Timer {
/// when the previous callback started, or when the previous callback was
/// scheduled for - even if the actual callback was delayed.
///
/// [duration] must a non-negative [Duration].
/// A negative [duration] is treated the same as [Duration.zero].
///
/// Example:
/// ```dart