operator [] method Null safety

  1. @override
dynamic operator [](
  1. dynamic key
)
override

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "schemaURI": return this.schemaURI;
    case "properties": return this.properties;
    case "schemaRef": return this.schemaRef;
    case "parentRef": return this.parentRef;
    default: return wrapped[key];
  }
}