begin method Null safety

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._(_begin, id ?? _getNextAsyncId());
}