getParams static method

String getParams(
  1. ArgResults results,
  2. String key
)

Implementation

static String getParams(ArgResults results, String key) {
  try {
    final dynamic ret = results[key];
    if (ret == null) {
      return '';
    } else {
      return ret.toString();
    }
  } on Exception {
    return '';
  }
}