operator []= method

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

Implementation

@override
operator []=(String key, value) {
  switch (key) {
    case "moduleRef":
      this.moduleRef = value as String;
      break;
    case "schemas":
      this.schemas = value as List<IMSchemaDefinition>;
      break;
    case "operations":
      this.operations = value as List<IMOperationDefinition>;
      break;
    default:
      wrapped[key] = value;
  }
}