parseVariableOption method

void parseVariableOption (
  1. String option,
  2. List<VariableDefinition> variables
)

Implementation

void parseVariableOption(String option, List<VariableDefinition> variables) {
  final parts = option.split('=');
  variables.add(VariableDefinition(parts[0], parts[1]));

//2.4.0
//  var parseVariableOption = function(option, variables) {
//      var parts = option.split('=', 2);
//      variables[parts[0]] = parts[1];
//  };
}