W3cubDocs

/Dart 2

begin method

Flow begin ({int id })

A "begin" Flow event.

When passed to a Timeline method, generates a "begin" Flow event. If id is not provided, an id that conflicts with no other Dart-generated flow id's will be generated.

Implementation

static Flow begin({int id}) {
  return new Flow._(_begin, id ?? _getNextAsyncId());
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-developer/Flow/begin.html