operator [] method

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

Implementation

@override
operator [](key) {
  switch(key?.toString()) {
    case "recipient": return this.recipient;
    case "isUserId": return this.isUserId;
    case "isNativePush": return this.isNativePush;
    case "notification": return this.notification;
    case "body": return this.body;
    case "type": return this.type;
    default: return wrapped[key];
  }
}