operator []= method Null safety

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

Implementation

@override
operator []=(String key, value) {
  switch(key) {
    case "schemaURI": this.schemaURI = value as Uri; break;
    case "properties": this.properties = value as List<IMSchemaProperty>; break;
    case "schemaRef": this.schemaRef = value as MSchemaRef; break;
    case "parentRef": this.parentRef = value as MSchemaRef; break;
    default: wrapped[key] = value;
  }
}