operator []= method

void operator []=(
  1. String key,
  2. dynamic value
)
override

Implementation

operator []=(String key, value) {
  switch (key) {
    case "operation":
      this.operation = value as String;
      break;
    case "path":
      this.path = value as String;
      break;
    case "from":
      this.from = value as String;
      break;
    default:
      wrapped[key] = value;
  }
}