operator []= method

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

Implementation

@override
operator []=(String key, value) {
  switch(key) {
    case "path": this.path = value as JsonPath; break;
    case "label": this.label = value as String; break;
    case "factRef": this.factRef = value as MSchemaRef; break;
    case "linkRef": this.linkRef = value as MSchemaRef; break;
    case "isLinkSingleton": this.isLinkSingleton = value as bool; break;
    case "isEmbed": this.isEmbed = value as bool; break;
    case "maxLinks": this.maxLinks = value as int; break;
    case "minLinks": this.minLinks = value as int; break;
    default: wrapped[key] = value;
  }
}