more docs

This commit is contained in:
Hiroshi Horie
2021-12-03 11:47:47 +07:00
parent 77dc98601a
commit 36173eb3c6
2 changed files with 11 additions and 5 deletions
+4 -2
View File
@@ -88,7 +88,8 @@ abstract class Track extends DisposableChangeNotifier
return cid;
}
// returns true if started, false if already started
/// Start this [Track] if not started.
/// Returns true if started, false if already started
@mustCallSuper
Future<bool> start() async {
if (_active) {
@@ -102,7 +103,8 @@ abstract class Track extends DisposableChangeNotifier
return true;
}
// returns true if stopped, false if already stopped
/// Stop this [Track] if not stopped.
/// Returns true if stopped, false if already stopped
@mustCallSuper
Future<bool> stop() async {
if (!_active) {