isFlag static method

bool isFlag(
  1. String arg
)

Whether the arg is the --bp-output flag, which is not passed down to the build commands

Implementation

static bool isFlag(String arg) => arg == flag || arg.startsWith("$flag=");