hasFlag method

bool hasFlag(
  1. List<String> args
)

Implementation

bool hasFlag(List<String> args) {
  return findAndRemoveFlag(args) != null;
}