operator [] method Null safety

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

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "operationRef": return this.operationRef;
    case "implements_": return this.implements_;
    case "owningType": return this.owningType;
    case "operationLabel": return this.operationLabel;
    case "operationDescription": return this.operationDescription;
    case "isAssisted": return this.isAssisted;
    case "isVirtual": return this.isVirtual;
    case "realm": return this.realm;
    case "requiredTokens": return this.requiredTokens;
    case "inputSchema": return this.inputSchema;
    case "outputSchema": return this.outputSchema;
    case "initSchema": return this.initSchema;
    default: return wrapped[key];
  }
}