getVerbParam static method

HashMap<String, String?>? getVerbParam(
  1. String regex,
  2. String command
)

Implementation

static HashMap<String, String?>? getVerbParam(String regex, String command) {
  var regExp = RegExp(regex);
  var regexMatches = _getMatches(regExp, command);
  if (regexMatches.isEmpty) {
    return null;
  }
  var verbParams = _processMatches(regexMatches);

  return verbParams;
}