end static method Null safety

Flow end(
  1. int id
)

An "end" Flow event.

When passed to a Timeline method, generates a "end" Flow event. The id argument is required. It can come either from another Flow event, or some id that comes from the environment.

Implementation

static Flow end(int id) => new Flow._(_flowEnd, id);