EntryPoint typedef

EntryPoint = FutureOr<void> Function(List<String> args, LaunchContext context)

A function that is called to start the execution of an executable.

It is passed the arguments passed to the executable and a LaunchContext that provides information about how the executable was launched.

Implementation

typedef EntryPoint = FutureOr<void> Function(
  List<String> args,
  LaunchContext context,
);