operator []= method

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

Implementation

@override
operator []=(String key, value) {
  switch(key) {
    case "operationRef": this.operationRef = value as MOperationRef; break;
    case "implements_": this.implements_ = value as MOperationRef; break;
    case "owningType": this.owningType = value as MSchemaRef; break;
    case "operationLabel": this.operationLabel = value as String; break;
    case "operationDescription": this.operationDescription = value as String; break;
    case "isAssisted": this.isAssisted = value as bool; break;
    case "isVirtual": this.isVirtual = value as bool; break;
    case "realm": this.realm = value as String; break;
    case "requiredTokens": this.requiredTokens = value as List<String>; break;
    case "inputSchema": this.inputSchema = value as IMSchemaDefinition; break;
    case "outputSchema": this.outputSchema = value as IMSchemaDefinition; break;
    case "initSchema": this.initSchema = value as IMSchemaDefinition; break;
    default: wrapped[key] = value;
  }
}