step method Null safety

Flow step (
  1. int id
)

A "step" Flow event.

When passed to a Timeline method, generates a "step" 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 step(int id) => new Flow._(_step, id);