isFlag method

bool isFlag(
  1. String key
)

Implementation

bool isFlag(String key) => parameters[key] == 'true' || parameters[key] == 'false';