finish method
- {Map? arguments}
Finish the last synchronous operation that was started. Optionally takes a Map of arguments
.
Implementation
void finish({Map? arguments}) { if (!_hasTimeline) { return; } if (_stack.length == 0) { throw new StateError('Uneven calls to start and finish'); } if (_filterKey != null) { arguments ??= {}; arguments[_kFilterKey] = _filterKey; } // Pop top item off of stack. var block = _stack.removeLast(); block._finish(arguments); }
© 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/finish.html