begin static method

Flow begin(
  1. {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._(_flowBegin, id ?? _getNextTaskId());
}