pass method
Retrieve the TimelineTask's task id. Will throw an exception if the stack is not empty.
Implementation
int pass() { if (_stack.length > 0) { throw new StateError( 'You cannot pass a TimelineTask without finishing all started ' 'operations'); } int r = _taskId; return r; }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.13.0/dart-developer/TimelineTask/pass.html